00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef MTL_VECTOR_PARAMETERS_INCLUDE
00013 #define MTL_VECTOR_PARAMETERS_INCLUDE
00014
00015 #include <boost/mpl/bool.hpp>
00016 #include <boost/numeric/mtl/utility/tag.hpp>
00017 #include <boost/numeric/mtl/vector/dimension.hpp>
00018 #include <boost/numeric/mtl/utility/is_static.hpp>
00019
00020 namespace mtl { namespace vector {
00021
00022
00023 template <typename Orientation= col_major,
00024 typename Dimension= non_fixed::dimension,
00025 bool OnStack= mtl::traits::is_static<Dimension>::value,
00026 bool RValue= false>
00027 struct parameters
00028 {
00029 typedef Orientation orientation;
00030 typedef Dimension dimension;
00031 static bool const on_stack= OnStack;
00032 static bool const is_rvalue= RValue;
00033 };
00034
00035
00036 }}
00037
00038 #endif // MTL_VECTOR_PARAMETERS_INCLUDE