You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

in_place.hpp 653B

1234567891011121314151617181920212223242526272829
  1. /// \file
  2. // Range v3 library
  3. //
  4. // Copyright Eric Niebler 2013-present
  5. //
  6. // Use, modification and distribution is subject to the
  7. // Boost Software License, Version 1.0. (See accompanying
  8. // file LICENSE_1_0.txt or copy at
  9. // http://www.boost.org/LICENSE_1_0.txt)
  10. //
  11. // Project home: https://github.com/ericniebler/range-v3
  12. //
  13. #ifndef RANGES_V3_UTILITY_IN_PLACE_HPP
  14. #define RANGES_V3_UTILITY_IN_PLACE_HPP
  15. #include <range/v3/range_fwd.hpp>
  16. #include <range/v3/utility/static_const.hpp>
  17. namespace ranges
  18. {
  19. /// \ingroup group-utility
  20. struct in_place_t
  21. {};
  22. RANGES_INLINE_VARIABLE(in_place_t, in_place)
  23. } // namespace ranges
  24. #endif