{"action":"created","issue":{"url":"https://api.github.com/repos/USCiLab/cereal/issues/170","labels_url":"https://api.github.com/repos/USCiLab/cereal/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/USCiLab/cereal/issues/170/comments","events_url":"https://api.github.com/repos/USCiLab/cereal/issues/170/events","html_url":"https://github.com/USCiLab/cereal/issues/170","id":57496620,"number":170,"title":"BOOST_SERIALIZATION_SPLIT_MEMBER() preventing compile","user":{"login":"LLay","id":8738806,"avatar_url":"https://avatars.githubusercontent.com/u/8738806?v=3","gravatar_id":"","url":"https://api.github.com/users/LLay","html_url":"https://github.com/LLay","followers_url":"https://api.github.com/users/LLay/followers","following_url":"https://api.github.com/users/LLay/following{/other_user}","gists_url":"https://api.github.com/users/LLay/gists{/gist_id}","starred_url":"https://api.github.com/users/LLay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLay/subscriptions","organizations_url":"https://api.github.com/users/LLay/orgs","repos_url":"https://api.github.com/users/LLay/repos","events_url":"https://api.github.com/users/LLay/events{/privacy}","received_events_url":"https://api.github.com/users/LLay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T18:04:44Z","updated_at":"2015-02-12T19:49:55Z","closed_at":null,"body":"Hi there, \r\nI'm going over your Transitioning from Boost tutorial. Are the examples supposed to compile as such? I'm finding that BOOST_SERIALIZATION_SPLIT_MEMBER() is (implicitly) stopping cereal from recognizing the save/load pair. I cannot have code in main() to serialize with both boost and cereal, and have it compile, presumably because of BOOST_SERIALIZATION_SPLIT_MEMBER() whose existence stops cereal from recognizing the load save functions. And whose lack of existences stops boost from recognizing the load save functions. I've tried with all different archive and stream types. I've tried using your different releases, and cloned the working version. Without the save/load pair, and just serialize, it works fine.\r\nIs this supposed to be the case?"},"comment":{"url":"https://api.github.com/repos/USCiLab/cereal/issues/comments/74139634","html_url":"https://github.com/USCiLab/cereal/issues/170#issuecomment-74139634","issue_url":"https://api.github.com/repos/USCiLab/cereal/issues/170","id":74139634,"user":{"login":"AzothAmmo","id":1634639,"avatar_url":"https://avatars.githubusercontent.com/u/1634639?v=3","gravatar_id":"","url":"https://api.github.com/users/AzothAmmo","html_url":"https://github.com/AzothAmmo","followers_url":"https://api.github.com/users/AzothAmmo/followers","following_url":"https://api.github.com/users/AzothAmmo/following{/other_user}","gists_url":"https://api.github.com/users/AzothAmmo/gists{/gist_id}","starred_url":"https://api.github.com/users/AzothAmmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AzothAmmo/subscriptions","organizations_url":"https://api.github.com/users/AzothAmmo/orgs","repos_url":"https://api.github.com/users/AzothAmmo/repos","events_url":"https://api.github.com/users/AzothAmmo/events{/privacy}","received_events_url":"https://api.github.com/users/AzothAmmo/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T19:49:55Z","updated_at":"2015-02-12T19:49:55Z","body":"Looking at that example I don't think we ever tried to compile it - the variables that are serialized in `SomeData` are never defined, for instance.\r\n\r\nLooks like the implementation of `BOOST_SERIALIZATION_SPLIT_MEMBER` actually defines a function called `serialize`, which is a conflict for us.  So you'd actually have to pair this with some disambiguation for cereal until you could remove the boost code, such as:\r\n\r\n`CEREAL_SPECIALIZE_FOR_ALL_ARCHIVES( SomeData, cereal::specialization::member_load_save )`\r\n\r\nWe'll update the example to reflect this.\r\n"}}