
4 Nov
2004
4 Nov
'04
8:40 p.m.
On Thu, 4 Nov 2004 22:18:29 +0300, Maxim Yegorushkin <e-maxim@yandex.ru> wrote:
I striped the sample down to:
typedef make_recursive_variant<int, std::pair<int, recursive_variant_> >::type value; value v;
Which compiles fine with MS VC 7.1 and fails to compile on Intel C++ 8.
Well this code compiles fine on g++ 3.3.2 and g++ 3.4.2. I tried g++ 3.4.2 on my original example and it gives basically the same results as 3.3.2 (taking sizeof an incomplete type) but the compiler dies with an ICE. The newer g++ does however suggests that AllocatorT::rebind should be AllocatorT::template rebind in const_string/detail/storage.hpp, lines 79 and 86. -- Caleb Epstein caleb.epstein@gmail.com