remove_const.hpp 755 B

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