/usr/include/boost/qvm/gen
Edit: /usr/include/boost/qvm/gen/swizzle3.hpp (219522B)
//Copyright (c) 2008-2017 Emil Dotchevski and Reverge Studios, Inc.
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_FA16BB11ADAE248879FE52DB2543E53C
#define BOOST_QVM_FA16BB11ADAE248879FE52DB2543E53C
//This file was generated by a program. Do not edit manually.
#include
#include
#include
namespace
boost
{
namespace
qvm
{
BOOST_QVM_INLINE_TRIVIAL
qvm_detail::sw01_ > > > const &
_111()
{
return *reinterpret_cast > > > const *>(qvm_detail::get_null());
}
BOOST_QVM_INLINE_TRIVIAL
qvm_detail::sw01_ > > > const &
_011()
{
return *reinterpret_cast > > > const *>(qvm_detail::get_null());
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
W11( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
W11( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
Z11( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
Z11( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > const &>::type
Y11( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > &>::type
Y11( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=1,
qvm_detail::sw_ > > > const &>::type
X11( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_scalar::value,
qvm_detail::sws_ > > > const &>::type
X11( S const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=1,
qvm_detail::sw_ > > > &>::type
X11( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_scalar::value,
qvm_detail::sws_ > > > &>::type
X11( S & a )
{
return reinterpret_cast > > > &>(a);
}
BOOST_QVM_INLINE_TRIVIAL
qvm_detail::sw01_ > > > const &
_101()
{
return *reinterpret_cast > > > const *>(qvm_detail::get_null());
}
BOOST_QVM_INLINE_TRIVIAL
qvm_detail::sw01_ > > > const &
_001()
{
return *reinterpret_cast > > > const *>(qvm_detail::get_null());
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
W01( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
W01( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
Z01( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
Z01( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > const &>::type
Y01( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > &>::type
Y01( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=1,
qvm_detail::sw_ > > > const &>::type
X01( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_scalar::value,
qvm_detail::sws_ > > > const &>::type
X01( S const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=1,
qvm_detail::sw_ > > > &>::type
X01( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_scalar::value,
qvm_detail::sws_ > > > &>::type
X01( S & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
_1W1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
_1W1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
_0W1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
_0W1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
WW1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
WW1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
ZW1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
ZW1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
YW1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
YW1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
XW1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
XW1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
_1Z1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
_1Z1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
_0Z1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
_0Z1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
WZ1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > &>::type
WZ1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
ZZ1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
ZZ1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
YZ1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
YZ1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > const &>::type
XZ1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=3,
qvm_detail::sw_ > > > &>::type
XZ1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > const &>::type
_1Y1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > &>::type
_1Y1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > const &>::type
_0Y1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=2,
qvm_detail::sw_ > > > &>::type
_0Y1( V & a )
{
return reinterpret_cast > > > &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec::value && vec_traits::dim>=4,
qvm_detail::sw_ > > > const &>::type
WY1( V const & a )
{
return reinterpret_cast > > > const &>(a);
}
template
BOOST_QVM_INLINE_TRIVIAL
typename enable_if_c<
is_vec