diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-06-07 13:23:11 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-06-07 13:23:11 -0400 |
commit | 039eafa275852004c3483ecee323527f90e6ac81 (patch) | |
tree | b996f81cd3db71917cea45d4de745cd8b5f5ee0d /vec_pseudo.h | |
parent | 65900de24d691d824090f1258628649656d03c8b (diff) | |
download | vecmathlib-039eafa275852004c3483ecee323527f90e6ac81.zip vecmathlib-039eafa275852004c3483ecee323527f90e6ac81.tar.gz |
Remove commented-out duplicate function declarations
Diffstat (limited to 'vec_pseudo.h')
-rw-r--r-- | vec_pseudo.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/vec_pseudo.h b/vec_pseudo.h index 9965ee9..718c883 100644 --- a/vec_pseudo.h +++ b/vec_pseudo.h @@ -773,7 +773,6 @@ namespace vecmathlib { template<typename T, int N> inline - // auto boolpseudovec<T,N>::as_int() const -> intvec_t typename boolpseudovec<T,N>::intvec_t boolpseudovec<T,N>::as_int() const { return convert_int(); @@ -781,7 +780,6 @@ namespace vecmathlib { template<typename T, int N> inline - // auto boolpseudovec<T,N>::convert_int() const -> intvec_t typename boolpseudovec<T,N>::intvec_t boolpseudovec<T,N>::convert_int() const { intvec_t res; @@ -791,8 +789,8 @@ namespace vecmathlib { template<typename T, int N> inline - // auto boolpseudovec<T,N>::ifthen(intvec_t x, intvec_t y) const -> intvec_t - typename boolpseudovec<T,N>::intvec_t boolpseudovec<T,N>::ifthen(intvec_t x, intvec_t y) const + typename boolpseudovec<T,N>::intvec_t + boolpseudovec<T,N>::ifthen(intvec_t x, intvec_t y) const { intvec_t res; for (int d=0; d<size; ++d) res.v[d] = v[d] ? x.v[d] : y.v[d]; @@ -801,8 +799,8 @@ namespace vecmathlib { template<typename T, int N> inline - // auto boolpseudovec<T,N>::ifthen(realvec_t x, realvec_t y) const -> realvec_t - typename boolpseudovec<T,N>::realvec_t boolpseudovec<T,N>::ifthen(realvec_t x, realvec_t y) const + typename boolpseudovec<T,N>::realvec_t + boolpseudovec<T,N>::ifthen(realvec_t x, realvec_t y) const { realvec_t res; for (int d=0; d<size; ++d) res.v[d] = v[d] ? x.v[d] : y.v[d]; @@ -814,8 +812,8 @@ namespace vecmathlib { // intpseudovec definitions template<typename T, int N> - // inline auto intpseudovec<T,N>::as_float() const -> realvec_t - inline typename intpseudovec<T,N>::realvec_t intpseudovec<T,N>::as_float() const + inline + typename intpseudovec<T,N>::realvec_t intpseudovec<T,N>::as_float() const { realvec_t res; for (int d=0; d<size; ++d) res.v[d] = FP::as_float(v[d]); @@ -823,8 +821,8 @@ namespace vecmathlib { } template<typename T, int N> - // inline auto intpseudovec<T,N>::convert_float() const -> realvec_t - inline typename intpseudovec<T,N>::realvec_t intpseudovec<T,N>::convert_float() const + inline + typename intpseudovec<T,N>::realvec_t intpseudovec<T,N>::convert_float() const { realvec_t res; for (int d=0; d<size; ++d) res.v[d] = FP::convert_float(v[d]); @@ -1200,7 +1198,8 @@ namespace vecmathlib { template<typename real_t, int size> inline realpseudovec<real_t, size> ldexp(realpseudovec<real_t, size> x, - typename intpseudovec<real_t, size>::int_t n) + typename intpseudovec<real_t, size>::int_t + n) { return x.ldexp(n); } |