Home | History | Annotate | Download | only in array
      1 #ifndef SUPPRESS_ARRAY_WARNINGS_H
      2 #define SUPPRESS_ARRAY_WARNINGS_H
      3 
      4 // std::array is explicitly allowed to be initialized with A a = { init-list };.
      5 // Disable the missing braces warning for this reason.
      6 #pragma GCC diagnostic ignored "-Wmissing-braces"
      7 
      8 #endif // SUPPRESS_ARRAY_WARNINGS
      9