non_default_constructible.h 300 B

1234567891011121314151617
  1. #ifndef ENTT_COMMON_NON_DEFAULT_CONSTRUCTIBLE_H
  2. #define ENTT_COMMON_NON_DEFAULT_CONSTRUCTIBLE_H
  3. namespace test {
  4. struct non_default_constructible {
  5. non_default_constructible() = delete;
  6. non_default_constructible(int v)
  7. : value{v} {}
  8. int value;
  9. };
  10. } // namespace test
  11. #endif