bug-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A bug when compiling a specialization of a template


From: Ionut Gradinaru
Subject: A bug when compiling a specialization of a template
Date: Mon, 30 Sep 2002 13:40:35 +0300

        Helo,

        There is a strange error when compiling the specialization of a 
template:

        template< bool flag, typename T, typename U>
        struct Select
        {
                typedef T Result;
        };      
        template <typename T, typename U>
        struct Select<false, T, U>
        {
                typedef U Result;
        };

        The version of the compiler is: 2.7.2pl8.
        If you need more information plese ask.

        Thank you.
-- 
Ionut Gradinaru, Eng.
Mobile phone:   +40 723 597951
Alcanet phone:  2570 3048
Mail:           address@hidden
Dept.           OND     
                Str. Gh. Lazar 9              ______V______  
                1900 Timisoara                A L C A T E L
                ALCATEL Network System Romania
~
~
~
~
~
~
~
~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]