Created
July 10, 2019 08:34
-
-
Save tmt514/6cf6c1a9ad4c787c14516b4dde92d7bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "local_feature.hpp" | |
int main(void) { | |
LocalFeature local_feature(1.2, 1.3, 1.4); | |
std::stringstream ss; | |
boost::archive::text_oarchive oa{ss}; | |
oa << local_feature; | |
std::string s = ss.str(); | |
for (int i = 0; i < s.size(); i++) | |
printf("s[%d] = %c\n", i, s[i]); | |
return 0; | |
//ost::archive::text_iarchive ia{ss}; | |
// LocalFeatures l2; | |
// ia >> l2; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment