Go to the documentation of this file.
17 #if !defined(_MSC_VER)
18 # define PYBIND11_DESCR_CONSTEXPR static constexpr
20 # define PYBIND11_DESCR_CONSTEXPR const
24 template <
size_t N,
typename... Ts>
28 constexpr
descr() =
default;
32 template <
size_t... Is>
35 template <
typename...
Chars>
40 return {{&
typeid(Ts)...,
nullptr}};
44 template <
size_t N1,
size_t N2,
typename... Ts1,
typename... Ts2,
size_t... Is1,
size_t... Is2>
50 return {
a.text[Is1]...,
b.text[Is2]...};
53 template <
size_t N1,
size_t N2,
typename... Ts1,
typename... Ts2>
65 template <
size_t Rem,
size_t... Digits>
67 template <
size_t... Digits>
70 static constexpr
auto digits =
descr<
sizeof...(Digits)>((
'0' + Digits)...);
74 template <
bool B,
size_t N1,
size_t N2>
78 template <
bool B,
size_t N1,
size_t N2>
83 template <
bool B,
typename T1,
typename T2>
87 template <
bool B,
typename T1,
typename T2>
92 template <
size_t Size>
94 return int_to_str<Size / 10, Size % 10>::digits;
97 template <
typename Type>
107 # define PYBIND11_DETAIL_UNDERSCORE_BACKWARD_COMPATIBILITY
110 return const_name<N>(
text);
112 template <
bool B,
size_t N1,
size_t N2>
114 return const_name<B, N1, N2>(text1, text2);
116 template <
bool B,
size_t N1,
size_t N2>
118 return const_name<B, N1, N2>(text1, text2);
120 template <
bool B,
typename T1,
typename T2>
122 return const_name<B, T1, T2>(d1,
d2);
124 template <
bool B,
typename T1,
typename T2>
126 return const_name<B, T1, T2>(d1,
d2);
129 template <
size_t Size>
131 return const_name<Size>();
133 template <
typename Type>
135 return const_name<Type>();
141 template <
size_t N,
typename... Ts>
146 #ifdef __cpp_fold_expressions
147 template <
size_t N1,
size_t N2,
typename... Ts1,
typename... Ts2>
153 template <
size_t N,
typename... Ts,
typename... Args>
155 return (
d, ...,
args);
158 template <
size_t N,
typename... Ts,
typename... Args>
166 template <
size_t N,
typename... Ts>
Eigen::CommaInitializer< XprType > & operator,(Eigen::CommaInitializer< XprType > &ci, double v)
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
std::vector< char > Chars
constexpr descr< N - 1 > const_name(char const (&text)[N])
static const double d[K][N]
typename std::remove_cv< T >::type remove_cv_t
constexpr descr< N1+N2, Ts1..., Ts2... > plus_impl(const descr< N1, Ts1... > &a, const descr< N2, Ts2... > &b, index_sequence< Is1... >, index_sequence< Is2... >)
#define PYBIND11_NAMESPACE_END(name)
#define PYBIND11_NAMESPACE_BEGIN(name)
static constexpr std::array< const std::type_info *, sizeof...(Ts)+1 > types()
static const Pose3 T2(Rot3::Rodrigues(0.3, 0.2, 0.1), P2)
constexpr descr< 0 > concat()
constexpr descr(char const (&s)[N+1], index_sequence< Is... >)
constexpr descr< N+2, Ts... > type_descr(const descr< N, Ts... > &descr)
constexpr descr(char const (&s)[N+1])
#define PYBIND11_WORKAROUND_INCORRECT_MSVC_C4100(...)
typename make_index_sequence_impl< N >::type make_index_sequence
constexpr descr< N1+N2, Ts1..., Ts2... > operator+(const descr< N1, Ts1... > &a, const descr< N2, Ts2... > &b)
constexpr descr(char c, Chars... cs)
static const Similarity3 T1(R, Point3(3.5, -8.2, 4.2), 1)
constexpr descr< N - 1 > _(char const (&text)[N])
typename std::enable_if< B, T >::type enable_if_t
from cpp_future import (convenient aliases from C++14/17)
constexpr descr()=default
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:01:02