F
Fraser Ross
#include <list>
#include <memory>
#pragma hdrstop
template<
typename T1=int,
typename T2=double,
template<typename, typename> class Container=
std::list<T1, std::allocator<T1> > >
class Relation {
Container dom1;
};
#pragma argsused
int main(int argc, char* argv[])
{
Relation<> rel;
return 0;
}
Why do I get an undefined structure error for rel? Probably its a compiler
bug or a language feature not implemented.
Fraser.
#include <memory>
#pragma hdrstop
template<
typename T1=int,
typename T2=double,
template<typename, typename> class Container=
std::list<T1, std::allocator<T1> > >
class Relation {
Container dom1;
};
#pragma argsused
int main(int argc, char* argv[])
{
Relation<> rel;
return 0;
}
Why do I get an undefined structure error for rel? Probably its a compiler
bug or a language feature not implemented.
Fraser.