![]() |
Home | Libraries | People | FAQ | More |
boost::dll::experimental::imported_class
// In header: <boost/dll/import_class.hpp> template<typename T> class imported_class { public: // types typedef imported_class< ; // construct/copy/destruct template< Args> (, , ); template< Args> (, , , ); template< Args> (, , ); template< Args> (, , , ); () = ; (imported_class &) = ; (imported_class &&) = ; imported_class & (imported_class &) = ; imported_class & (imported_class &&) = ; // private member functions template< Args> (, ); template< Args> (, , ); // public static functions template< Args> imported_class< (, ); template< Args> imported_class< (, , ); template< Args> imported_class< (, ); template< Args> imported_class< (, , ); // public member functions (); (); (); (); (); imported_class< () ; imported_class< (); (imported_class< ) ; (imported_class< ); () ; (); template<typename Signature> (); template<typename Tin, typename Signature, typename > (); template<typename Tin, typename T2> (); template< Args> (); };
This class represents an imported class.
![]() |
Note |
---|---|
It must be constructed via boost::dll::import_class(const smart_library& lib, std::size_t, Args...) |
imported_class
public
construct/copy/destructtemplate< Args> (, lib, args);
template< Args> (, lib, size, args);
template< Args> (, lib, args);
template< Args> (, lib, size, args);
() = ;
(imported_class &) = ;
(imported_class &&) = ;Move constructor.
imported_class & (imported_class &) = ;
imported_class & (imported_class &&) = ;Move assignmend.
imported_class
public static functionstemplate< Args> imported_class< ( lib, args);
template< Args> imported_class< ( lib, size, args);
template< Args> imported_class< ( lib, args);
template< Args> imported_class< ( lib, size, args);
imported_class
public member functions();Returns a pointer to the underlying class.
();Check if the imported class is move-constructible.
();Check if the imported class is move-assignable.
();Check if the imported class is copy-constructible.
();Check if the imported class is copy-assignable.
imported_class< () ;Invoke the copy constructor.
![]() |
Note |
---|---|
Undefined behaviour if the imported object is not copy constructible. |
imported_class< ();Invoke the move constructor.
![]() |
Note |
---|---|
Undefined behaviour if the imported object is not move constructible. |
(imported_class< lhs) ;Invoke the copy assignment.
![]() |
Note |
---|---|
Undefined behaviour if the imported object is not copy assignable. |
(imported_class< lhs);Invoke the move assignment.
![]() |
Note |
---|---|
Undefined behaviour if the imported object is not move assignable. |
() ;Check if the class is loaded.
();Get a const reference to the std::type_info.
template<typename Signature> ( name);
Call a member function. This returns a proxy to the function. The proxy mechanic mechanic is necessary, so the signaute can be passed.
Example
template<typename Tin, typename Signature, typename > ( name);
Call a qualified member function, i.e. const and or volatile.
Example
template<typename Tin, typename T2> ( mn);Overload of ->* for an imported method.
template< Args> ( name);Import a method of the class.