------- Comment #1 from redi at gcc dot gnu dot org  2010-06-25 11:08 -------
(In reply to comment #0)
> the latest llvm/clang++ reports an error during parsing <tr1/tuple>
> included from <tr1/functional>:
> 
> In file included from t00.cpp:1:
> In file included from /usr/include/c++/4.5.0/tr1/functional:39:
> /usr/include/c++/4.5.0/tr1/tuple:68:30: error: variadic templates are only
> allowed in C++0x

That's Clang's problem, not GCC's :-)

They are supported as an extension in g++, so we can use them to implement
components like tr1::tuple.  (I think the original implementation of variadic
templates was done by Douglas Gregor, who's now working on Clang.)

See also Bug 43824


-- 

redi at gcc dot gnu dot org changed:

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


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

Reply via email to