Drake
Drake C++ Documentation
wrap_function.h File Reference
#include <functional>
#include <type_traits>
#include <utility>
Include dependency graph for wrap_function.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  wrap_arg_default< T >
 Default case for argument wrapping, with pure pass-through. More...
 

Namespaces

 drake
 
 drake::pydrake
 For more high-level information, see the Python Bindings technical notes.
 

Typedefs

template<template< typename... > class wrap_arg_policy, typename Signature >
using wrap_arg_function = typename internal::wrap_function_impl< wrap_arg_policy >::template wrap_arg< std::function< Signature > >
 Policy for explicitly wrapping functions for a given policy. More...
 

Functions

template<template< typename... > class wrap_arg_policy, bool use_functions = true, typename Func = void>
auto WrapFunction (Func &&func)
 Wraps the types used in a function signature to produce a new function with wrapped arguments and return value (if non-void). More...