@@ -56,6 +56,7 @@ namespace converters {
5656/* *****************************************************************************************/
5757
5858template <typename T>
59+ requires ( std::is_integral_v< std::remove_const_t <T> >)
5960converters::PyListToVectorConverter<T>::PyListToVectorConverter() {
6061 using namespace boost ::python;
6162
@@ -68,6 +69,7 @@ converters::PyListToVectorConverter<T>::PyListToVectorConverter() {
6869}
6970
7071template <typename T>
72+ requires ( std::is_integral_v< std::remove_const_t <T> >)
7173void* converters::PyListToVectorConverter<T>::convertible(PyObject* obj_ptr) {
7274 using namespace boost ::python;
7375
@@ -78,6 +80,7 @@ void* converters::PyListToVectorConverter<T>::convertible(PyObject* obj_ptr) {
7880}
7981
8082template <typename T>
83+ requires ( std::is_integral_v< std::remove_const_t <T> >)
8184void converters::PyListToVectorConverter<T>::construct(PyObject* obj_ptr, rvalueFromPythonData* data) {
8285
8386 using namespace boost ::python;
@@ -102,6 +105,7 @@ void converters::PyListToVectorConverter<T>::construct(PyObject* obj_ptr, rvalue
102105}
103106
104107template <typename T>
108+ requires ( std::is_integral_v< std::remove_const_t <T> >)
105109converters::PyIntToIntegralValueConverter<T>::PyIntToIntegralValueConverter() {
106110 using namespace boost ::python;
107111
@@ -114,6 +118,7 @@ converters::PyIntToIntegralValueConverter<T>::PyIntToIntegralValueConverter() {
114118}
115119
116120template <typename T>
121+ requires ( std::is_integral_v< std::remove_const_t <T> >)
117122void* converters::PyIntToIntegralValueConverter<T>::convertible(PyObject* obj_ptr) {
118123 using namespace boost ::python;
119124
@@ -124,6 +129,7 @@ void* converters::PyIntToIntegralValueConverter<T>::convertible(PyObject* obj_pt
124129}
125130
126131template <typename T>
132+ requires ( std::is_integral_v< std::remove_const_t <T> >)
127133void converters::PyIntToIntegralValueConverter<T>::construct(PyObject* obj_ptr, rvalueFromPythonData* data) {
128134 using namespace boost ::python;
129135
0 commit comments