MyraMath
|
Wraps a fixed size C-array. Think std::array, but before C++11. More...
#include <iostream>
Go to the source code of this file.
Classes | |
class | myra::Pack< T, N > |
Functions | |
template<class T , int N> | |
std::ostream & | myra::operator<< (std::ostream &out, const Pack< T, N > &pack) |
Pretty prints a Pack<T,N>. | |
template<class T > | |
Pack< T, 1 > | myra::pack (const T &a) |
Factory function to make a Pack<T,1> | |
template<class T > | |
Pack< T, 2 > | myra::pack (const T &a, const T &b) |
Factory function to make a Pack<T,2> | |
template<class T > | |
Pack< T, 3 > | myra::pack (const T &a, const T &b, const T &c) |
Factory function to make a Pack<T,3> | |
template<class T > | |
Pack< T, 4 > | myra::pack (const T &a, const T &b, const T &c, const T &d) |
Factory function to make a Pack<T,4> | |
template<class T > | |
Pack< T, 5 > | myra::pack (const T &a, const T &b, const T &c, const T &d, const T &e) |
Factory function to make a Pack<T,5> | |
template<class T > | |
Pack< T, 6 > | myra::pack (const T &a, const T &b, const T &c, const T &d, const T &e, const T &f) |
Factory function to make a Pack<T,6> | |
Wraps a fixed size C-array. Think std::array, but before C++11.