fork download
  1. #include <iostream>
  2.  
  3. class Foo {
  4. public:
  5. static constexpr const int Read{1};
  6. static constexpr const int Write{2};
  7. };
  8.  
  9. int main() {
  10. std::cout << Foo::Read << std::endl;
  11.  
  12. return 0;
  13. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
1