- Sort Score
- Num 10 results
- Language All
- Labels All
Results 1 - 10 of 19 for int (0.04 seconds)
-
STL containers - pybind11 documentation
is already an int and is convertible to a C++ int . Changing the...example, when converting variant<int, bool> , the bool variant will...pybind11.readthedocs.io/en/latest/advanced/cast/stl.htmlTue Mar 25 03:33:19 GMT 2025 43.1K bytes -
Functional - pybind11 documentation
int func_arg ( const std :: function < int ( int ) > &...function < int ( int ) > func_ret ( const std :: function < int ( int...pybind11.readthedocs.io/en/latest/advanced/cast/functional.htmlMon Jul 28 05:09:26 GMT 2025 25.5K bytes -
Object-oriented code - pybind11 documentation
Widget { int foo ( int x , float y ); int foo ( int x , float...const std :: string & name , int age ) : name ( name ), age (...pybind11.readthedocs.io/en/latest/classes.htmlMon Jul 28 05:09:26 GMT 2025 97.7K bytes -
First steps - pybind11 documentation
returns their result: int add ( int i , int j ) { return i + j ;...namespace py = pybind11 ; int add ( int i , int j ) { return i + j ;...pybind11.readthedocs.io/en/latest/basics.htmlWed Sep 03 16:08:50 GMT 2025 42.8K bytes -
Frequently asked questions - pybind11 documenta...
increment ( int & i ) { i ++ ; } void increment_ptr ( int * i ) {...functions). An example: int foo ( int & i ) { i ++ ; return 123...pybind11.readthedocs.io/en/latest/faq.htmlMon Jul 28 05:09:26 GMT 2025 54K bytes -
Classes - pybind11 documentation
Example ( double ); Example ( int , int ); Example ( std :: string.... def ( py :: init ([]( int a , int b ) { return new Example...pybind11.readthedocs.io/en/latest/advanced/classes.htmlMon Feb 02 05:55:15 GMT 2026 201.2K bytes -
Embedding the interpreter - pybind11 documentation
[]( int i , int j ) { return i + j ; }); } int main () {..."add" )( 1 , 2 ); int n = result . cast < int > (); assert ( n...pybind11.readthedocs.io/en/latest/advanced/embedding.htmlThu Jan 15 17:39:57 GMT 2026 68.4K bytes -
Upgrade guide - pybind11 documentation
[]( int a , int b ) { return a + b ; });...optional m . def ( "add" , []( int a , int b ) { return a + b ; });...pybind11.readthedocs.io/en/latest/upgrade.htmlTue Nov 11 04:30:40 GMT 2025 90.9K bytes -
Reference - pybind11 documentation
int > = 0 > inline handle ( T ptr..., PyObject * > > :: value , int > = 0 > inline handle ( T & obj...pybind11.readthedocs.io/en/latest/reference.htmlTue Dec 30 12:55:54 GMT 2025 322K bytes -
Functions - pybind11 documentation
[]( int a , int b ) { /* ... */ }, py ::...py::pos_only() : m . def ( "f" , []( int a , int b ) { /* ... */ }, py ::...pybind11.readthedocs.io/en/latest/advanced/functions.htmlSat Nov 29 06:16:08 GMT 2025 78.8K bytes