Closed shanumante-sc closed 2 years ago
In the current implementation, we expose a method like img_load(std::string&) which means that temporary strings can't bind to it. However, it is fairly common to have the following code:
img_load(std::string&)
CVD::img_load(SomeBasePath() + "/my_specific_file.png")
and not allowing temporaries makes things cumbersome.
In the current implementation, we expose a method like
img_load(std::string&)
which means that temporary strings can't bind to it. However, it is fairly common to have the following code:and not allowing temporaries makes things cumbersome.