fork(2) download
  1. struct Bar
  2. {
  3. int var1;
  4. };
  5.  
  6. template<typename T, int T::*VALUE1, int T::*VALUE2 = nullptr>
  7. struct Foo
  8. {
  9.  
  10. };
  11.  
  12. int main()
  13. {
  14. Foo<Bar, &Bar::var1> fooBar;
  15. return 0;
  16. }
Success #stdin #stdout 0s 3092KB
stdin
Standard input is empty
stdout
Standard output is empty