Not exactly sure. Humm. I noticed that wrt the following: _____________________
#include <utility>
#include <iostream>
enum e {E};
template <e f> class b {};
template <typename f> class A : std::pair<int, b<E> >
{
-a-a-a-a-a-a-a A() : std::pair<int, b<E> >() {}
};
template <e f> class B : std::pair<int, b<f> >
{
-a-a-a-a-a-a-a B() : std::pair<int, b<f> >() {}
};
int main()
{
std::cout << "Hello..." << std::endl;
-a-a-a return 0;
}
_____________________
works (aka compiles), but if I put a typename for e in class B wrt <e
, the compiler cakes its pants.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 08:09:09 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
2 files (6,679K bytes) |
| Messages: | 264,936 |