size_t_.hpp 550 B

123456789101112131415161718
  1. // Copyright (c) 2016-2024 Antony Polukhin
  2. //
  3. // Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_PFR_DETAIL_SIZE_T_HPP
  6. #define BOOST_PFR_DETAIL_SIZE_T_HPP
  7. #pragma once
  8. namespace boost { namespace pfr { namespace detail {
  9. ///////////////////// General utility stuff
  10. template <std::size_t Index>
  11. using size_t_ = std::integral_constant<std::size_t, Index >;
  12. }}} // namespace boost::pfr::detail
  13. #endif // BOOST_PFR_DETAIL_SIZE_T_HPP