[LAD] [OT] Has anyone managed to compile this?

torbenh torbenh at gmx.de
Sat Jan 16 01:42:03 UTC 2010


On Sat, Jan 16, 2010 at 12:08:48AM +0000, Victor Lazzarini wrote:
> Dear all,
> 
> Torben's  new project  brought  back to my mind this mind-bending
> C++ template example (see attached), which I could not yet get to
> compile, I have been told it has been compiled, but g++ will have
> none of it. So I still have doubts on whether it includes legal C++
> code or not. But it is an interesting example (even if it does not
> build) of what (possibly) can be done with templates.
> 
> My question to the list is: has anyone managed to compile this code?

its missing several occasions of typename
(basically every error just requires adding typename, and it can be
compiled.)

see attachment.
> 
>
> Regards
> 
> Victor


> 

> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev


-- 
torben Hohn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prime.cpp
Type: text/x-c++src
Size: 4372 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20100116/629eb8b0/attachment.cpp>


More information about the Linux-audio-dev mailing list