fork(1) download
  1. struct Color {
  2. int r, g, b;
  3. };
  4.  
  5. class Environment {
  6. public:
  7. Environment(double air_density, Color background_color) {}
  8. static constexpr Color default_background_color = Color({ 210, 210, 210 });
  9. };
  10.  
  11. int main() {
  12. Environment environment(0.1, Environment::default_background_color); // OK
  13. return 0;
  14. }
Success #stdin #stdout 0s 5340KB
stdin
Standard input is empty
stdout
Standard output is empty