@@ -97,8 +97,8 @@ JLCXX_MODULE define_julia_module(jlcxx::Module &m)
97
97
98
98
TYPE_OBJ (config)
99
99
.method (" set" , static_cast <void (config::*)(char const *, char const *)>(&config::set))
100
- .method (" set" , [] (config &a, char const *b, const jlcxx::StrictlyTypedNumber< bool > &c) { return a. set (b, c. value ); } )
101
- .method (" set" , [] (config &a, char const *b, const jlcxx::StrictlyTypedNumber< int > &c) { return a. set (b, c. value ); } );
100
+ .method (" set" , static_cast < void (config::*)( char const *, bool )>(&config:: set) )
101
+ .method (" set" , static_cast < void (config::*)( char const *, int )>(&config:: set) );
102
102
103
103
// -------------------------------------------------------------------------
104
104
@@ -377,8 +377,8 @@ JLCXX_MODULE define_julia_module(jlcxx::Module &m)
377
377
.method (" set" , static_cast <void (solver::*)(char const *, double )>(&solver::set))
378
378
.method (" set" , static_cast <void (solver::*)(char const *, symbol const &)>(&solver::set))
379
379
.method (" set" , static_cast <void (solver::*)(char const *, char const *)>(&solver::set))
380
- .method (" set" , [] (solver &a, char const *b, const jlcxx::StrictlyTypedNumber< bool > &c) { return a. set (b, c. value ); } )
381
- .method (" set" , [] (solver &a, char const *b, const jlcxx::StrictlyTypedNumber< unsigned > &c) { return a. set (b, c. value ); } )
380
+ .method (" set" , static_cast < void (solver::*)( char const *, bool )>(&solver:: set) )
381
+ .method (" set" , static_cast < void (solver::*)( char const *, unsigned )>(&solver:: set) )
382
382
.MM (solver, push)
383
383
.MM (solver, pop)
384
384
.MM (solver, reset)
@@ -475,8 +475,8 @@ JLCXX_MODULE define_julia_module(jlcxx::Module &m)
475
475
476
476
TYPE_OBJ (params)
477
477
.constructor <context &>()
478
- .method (" set" , [] (params &a, char const *b, const jlcxx::StrictlyTypedNumber< bool > &c) { return a. set (b, c. value ); } )
479
- .method (" set" , [] (params &a, char const *b, const jlcxx::StrictlyTypedNumber< unsigned > &c) { return a. set (b, c. value ); } )
478
+ .method (" set" , static_cast < void (params::*)( char const *, bool )>(¶ms:: set) )
479
+ .method (" set" , static_cast < void (params::*)( char const *, unsigned )>(¶ms:: set) )
480
480
.method (" set" , static_cast <void (params::*)(char const *, double )>(¶ms::set))
481
481
.method (" set" , static_cast <void (params::*)(char const *, symbol const &)>(¶ms::set))
482
482
.method (" set" , static_cast <void (params::*)(char const *, char const *)>(¶ms::set))
@@ -591,18 +591,18 @@ JLCXX_MODULE define_julia_module(jlcxx::Module &m)
591
591
592
592
// -------------------------------------------------------------------------
593
593
594
- m.method (" set_param" , []( char const *a, const jlcxx::StrictlyTypedNumber< bool > &b) { return set_param (a, b. value ); } );
595
- m.method (" set_param" , []( char const *a, const jlcxx::StrictlyTypedNumber< int > &b) { return set_param (a, b. value ); } );
596
- m.method (" set_param" , static_cast <void (*)(char const * param , char const * value )>(&set_param));
594
+ m.method (" set_param" , static_cast < void (*)( char const *, bool )>(& set_param) );
595
+ m.method (" set_param" , static_cast < void (*)( char const *, int )>(& set_param) );
596
+ m.method (" set_param" , static_cast <void (*)(char const *, char const *)>(&set_param));
597
597
m.method (" reset_params" , &reset_params);
598
598
599
599
// -------------------------------------------------------------------------
600
600
601
601
TYPE_OBJ (context)
602
602
.constructor <config &>()
603
603
.method (" set" , static_cast <void (context::*)(char const *, char const *)>(&context::set))
604
- .method (" set" , [] (context &a, char const *b, const jlcxx::StrictlyTypedNumber< bool > &c) { return a. set (b, c. value ); } )
605
- .method (" set" , [] (context &a, char const *b, const jlcxx::StrictlyTypedNumber< int > &c) { return a. set (b, c. value ); } )
604
+ .method (" set" , static_cast < void (context::*)( char const *, bool )>(&context:: set) )
605
+ .method (" set" , static_cast < void (context::*)( char const *, int )>(&context:: set) )
606
606
//
607
607
.MM (context, interrupt)
608
608
//
@@ -681,23 +681,23 @@ JLCXX_MODULE define_julia_module(jlcxx::Module &m)
681
681
//
682
682
.MM (context, bool_val)
683
683
//
684
- .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int > & b) { return a.int_val (b.value ); })
685
- .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<unsigned > & b) { return a.int_val (b.value ); })
686
- .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int64_t > & b) { return a.int_val (b.value ); })
687
- .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<uint64_t > & b) { return a.int_val (b.value ); })
684
+ .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int > b) { return a.int_val (b.value ); })
685
+ .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<unsigned > b) { return a.int_val (b.value ); })
686
+ .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int64_t > b) { return a.int_val (b.value ); })
687
+ .method (" int_val" , [](context &a, const jlcxx::StrictlyTypedNumber<uint64_t > b) { return a.int_val (b.value ); })
688
688
.method (" int_val" , static_cast <expr (context::*)(char const *)>(&context::int_val))
689
689
//
690
- .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int > & b) { return a.real_val (b.value ); })
691
- .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<unsigned > & b) { return a.real_val (b.value ); })
692
- .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int64_t > & b) { return a.real_val (b.value ); })
693
- .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<uint64_t > & b) { return a.real_val (b.value ); })
690
+ .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int > b) { return a.real_val (b.value ); })
691
+ .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<unsigned > b) { return a.real_val (b.value ); })
692
+ .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int64_t > b) { return a.real_val (b.value ); })
693
+ .method (" real_val" , [](context &a, const jlcxx::StrictlyTypedNumber<uint64_t > b) { return a.real_val (b.value ); })
694
694
.method (" real_val" , static_cast <expr (context::*)(int , int )>(&context::real_val))
695
695
.method (" real_val" , static_cast <expr (context::*)(char const *)>(&context::real_val))
696
696
//
697
- .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int > & b, const jlcxx::StrictlyTypedNumber< unsigned > & c) { return a.bv_val (b.value , c. value ); })
698
- .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<unsigned > & b, const jlcxx::StrictlyTypedNumber< unsigned > & c) { return a.bv_val (b.value , c. value ); })
699
- .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int64_t > & b, const jlcxx::StrictlyTypedNumber< unsigned > & c) { return a.bv_val (b.value , c. value ); })
700
- .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<uint64_t > & b, const jlcxx::StrictlyTypedNumber< unsigned > & c) { return a.bv_val (b.value , c. value ); })
697
+ .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int > b, unsigned c) { return a.bv_val (b.value , c); })
698
+ .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<unsigned > b, unsigned c) { return a.bv_val (b.value , c); })
699
+ .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<int64_t > b, unsigned c) { return a.bv_val (b.value , c); })
700
+ .method (" bv_val" , [](context &a, const jlcxx::StrictlyTypedNumber<uint64_t > b, unsigned c) { return a.bv_val (b.value , c); })
701
701
.method (" bv_val" , static_cast <expr (context::*)(char const *, unsigned )>(&context::bv_val))
702
702
.method (" bv_val" , static_cast <expr (context::*)(unsigned , bool const *)>(&context::bv_val))
703
703
//
0 commit comments