remove_const.hpp 613 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED
  2. #define BOOST_QVM_DETAIL_REMOVE_CONST_HPP_INCLUDED
  3. /// Copyright (c) 2008-2021 Emil Dotchevski and Reverge Studios, Inc.
  4. /// Distributed under the Boost Software License, Version 1.0. (See accompanying
  5. /// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. namespace boost { namespace qvm {
  7. namespace
  8. qvm_detail
  9. {
  10. template <class T>
  11. struct
  12. remove_const
  13. {
  14. typedef T type;
  15. };
  16. template <class T>
  17. struct
  18. remove_const<T const>
  19. {
  20. typedef T type;
  21. };
  22. }
  23. } }
  24. #endif