py::class_< Exposed > syten::Pyten::expose_yesno | ( | py::module & | m, |
std::string | name, | ||
std::string | docstring = std::string("") |
||
) |
Function to expose YesNo structs automatically.
References std::string::c_str(), and std::stringstream::str().