temporary.hpp 829 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // Copyright (c) 2000-2002
  3. // Joerg Walter, Mathias Koch
  4. //
  5. // Distributed under the Boost Software License, Version 1.0. (See
  6. // accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // The authors gratefully acknowledge the support of
  10. // GeNeSys mbH & Co. KG in producing this work.
  11. //
  12. #ifndef _BOOST_UBLAS_TEMPORARY_
  13. #define _BOOST_UBLAS_TEMPORARY_
  14. namespace boost { namespace numeric { namespace ublas {
  15. /// For the creation of temporary vectors in the assignment of proxies
  16. template <class M>
  17. struct vector_temporary_traits {
  18. typedef typename M::vector_temporary_type type ;
  19. };
  20. /// For the creation of temporary vectors in the assignment of proxies
  21. template <class M>
  22. struct matrix_temporary_traits {
  23. typedef typename M::matrix_temporary_type type ;
  24. };
  25. } } }
  26. #endif