46 #ifndef _TINYVEC_IMPL_HPP_
47 #define _TINYVEC_IMPL_HPP_
57 Vec3T<F>::operator() ( Int i )
60 PushCallStack(
"Vec3T::operator()");
61 #endif // ifndef _RELEASE_
63 throw std::logic_error(
"Index is out of bound." );
67 #endif // ifndef _RELEASE_
73 Vec3T<F>::operator() ( Int i )
const
76 PushCallStack(
"Vec3T::operator()");
77 #endif // ifndef _RELEASE_
79 throw std::logic_error(
"Index is out of bound." );
83 #endif // ifndef _RELEASE_
89 Vec3T<F>::operator[] ( Int i )
92 PushCallStack(
"Vec3T::operator[]");
93 #endif // ifndef _RELEASE_
95 throw std::logic_error(
"Index is out of bound." );
99 #endif // ifndef _RELEASE_
105 Vec3T<F>::operator[] ( Int i )
const
108 PushCallStack(
"Vec3T::operator[]");
109 #endif // ifndef _RELEASE_
110 if( i < 0 || i > 2 ){
111 throw std::logic_error(
"Index is out of bound." );
115 #endif // ifndef _RELEASE_
122 #endif // _TINYVEC_IMPL_HPP_
Tiny vectors of dimension 3.