Search Options

Display Count
Sort
Preferred Language
Label
Advanced Search

Results 1 - 10 of 19 for int (0.04 seconds)

  1. 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.html
    Tue Mar 25 03:33:19 GMT 2025
      43.1K bytes
  2. 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.html
    Mon Jul 28 05:09:26 GMT 2025
      25.5K bytes
  3. 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.html
    Mon Jul 28 05:09:26 GMT 2025
      97.7K bytes
  4. 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.html
    Wed Sep 03 16:08:50 GMT 2025
      42.8K bytes
  5. 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.html
    Mon Jul 28 05:09:26 GMT 2025
      54K bytes
  6. 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.html
    Mon Feb 02 05:55:15 GMT 2026
      201.2K bytes
  7. 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.html
    Thu Jan 15 17:39:57 GMT 2026
      68.4K bytes
  8. 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.html
    Tue Nov 11 04:30:40 GMT 2025
      90.9K bytes
  9. Reference - pybind11 documentation

    int > = 0 > inline handle ( T ptr..., PyObject * > > :: value , int > = 0 > inline handle ( T & obj...
    pybind11.readthedocs.io/en/latest/reference.html
    Tue Dec 30 12:55:54 GMT 2025
      322K bytes
  10. 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.html
    Sat Nov 29 06:16:08 GMT 2025
      78.8K bytes
Back to Top