Skip to content
Snippets Groups Projects
Commit 6154cd1f authored by ilor's avatar ilor
Browse files

boost::serialization helper in Corpus2::Tag

parent 954a2063
Branches
No related merge requests found
......@@ -148,6 +148,16 @@ public:
*/
bool operator==(const Tag& other) const;
/**
* Boost seralization support. Users must include appropriate boost headers.
*/
template<class Archive>
void serialize(Archive & ar,const unsigned int version)
{
ar & pos_;
ar & values_;
}
private:
/// the POS id
mask_t pos_;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment