[Bug c++/36261] Static const member data not found when used in a template

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 18 22:53:00 GMT 2008



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-05-18 22:52 -------
std::min(1, A::N)

std::min takes a reference to a const type which means you need the defintion
of A::N including the definition.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36261



More information about the Gcc-bugs mailing list