fork download
  1. template<int V>
  2. struct outer
  3. {
  4. template<int U, bool>
  5. struct inner;
  6. };
  7. template<int V>
  8. template<bool B>
  9. struct outer<V>::inner<V, B> { enum { value = 0 }; };
  10.  
  11. int main()
  12. {
  13. return outer<1>::inner<1, false>::value;
  14. }
Success #stdin #stdout 0s 4284KB
stdin
Standard input is empty
stdout
Standard output is empty