Changeset 1382


Ignore:
Timestamp:
May 13, 2012, 11:38:18 PM (9 years ago)
Author:
sam
Message:

math: workaround for an apparent Visual Studio compiler bug in
template specialisation order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/math/real.h

    r1381 r1382  
    277277template<> void real::print(int ndigits) const;
    278278
     279/* FIXME: why doesn't this work on Visual Studio? */
     280#if !defined _MSC_VER
    279281template<> real const real::R_0;
    280282template<> real const real::R_1;
     
    298300template<> real const real::R_SQRT3;
    299301template<> real const real::R_SQRT1_2;
     302#endif
    300303
    301304} /* namespace lol */
Note: See TracChangeset for help on using the changeset viewer.