You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, there was a problem when I included the file "scl.h" directly in my project:"Find one or more multidefined symbols".
Then I put these two functions in a separate CPP file, and solved this problem:
#include"SCL.h"namespacescl
{
//functions to return iterators for a given config_file (range-based for loops)
config_file::iterator begin(config_file &file)
{
return file.begin();
}
config_file::iterator end(config_file &file)
{
return file.end();
}
}
So should the definitions of these two functions be separated for normal use?
The text was updated successfully, but these errors were encountered:
Hello, there was a problem when I included the file "scl.h" directly in my project:"Find one or more multidefined symbols".
Then I put these two functions in a separate CPP file, and solved this problem:
So should the definitions of these two functions be separated for normal use?
The text was updated successfully, but these errors were encountered: