operator= support in bootstrap code

This commit is contained in:
Jason Turner
2009-06-07 00:57:29 +00:00
parent af221b611d
commit 1c334064e8
3 changed files with 20 additions and 3 deletions

View File

@@ -24,10 +24,8 @@ void bootstrap_random_access_container(BoxedCPP_System &system, const std::strin
template<typename Assignable>
void bootstrap_assignable(BoxedCPP_System &system, const std::string &type)
{
/*
system.register_function(
boost::function<Assignable &(Assignable*, Assignable&)>(&Assignable::operator=), "=");
*/
boost::function<Assignable &(Assignable*, const Assignable&)>(&Assignable::operator=), "=");
}
template<typename ContainerType>