{"action":"opened","issue":{"url":"https://api.github.com/repos/ufz/ogs/issues/1383","repository_url":"https://api.github.com/repos/ufz/ogs","labels_url":"https://api.github.com/repos/ufz/ogs/issues/1383/labels{/name}","comments_url":"https://api.github.com/repos/ufz/ogs/issues/1383/comments","events_url":"https://api.github.com/repos/ufz/ogs/issues/1383/events","html_url":"https://github.com/ufz/ogs/issues/1383","id":175040958,"number":1383,"title":"Boost 1.61.0 and boost::optional","user":{"login":"bilke","id":149656,"avatar_url":"https://avatars.githubusercontent.com/u/149656?v=3","gravatar_id":"","url":"https://api.github.com/users/bilke","html_url":"https://github.com/bilke","followers_url":"https://api.github.com/users/bilke/followers","following_url":"https://api.github.com/users/bilke/following{/other_user}","gists_url":"https://api.github.com/users/bilke/gists{/gist_id}","starred_url":"https://api.github.com/users/bilke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bilke/subscriptions","organizations_url":"https://api.github.com/users/bilke/orgs","repos_url":"https://api.github.com/users/bilke/repos","events_url":"https://api.github.com/users/bilke/events{/privacy}","received_events_url":"https://api.github.com/users/bilke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ufz/ogs/labels/critical","name":"critical","color":"e10c02"}],"state":"open","locked":false,"assignee":{"login":"endJunction","id":329493,"avatar_url":"https://avatars.githubusercontent.com/u/329493?v=3","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false},"assignees":[{"login":"endJunction","id":329493,"avatar_url":"https://avatars.githubusercontent.com/u/329493?v=3","gravatar_id":"","url":"https://api.github.com/users/endJunction","html_url":"https://github.com/endJunction","followers_url":"https://api.github.com/users/endJunction/followers","following_url":"https://api.github.com/users/endJunction/following{/other_user}","gists_url":"https://api.github.com/users/endJunction/gists{/gist_id}","starred_url":"https://api.github.com/users/endJunction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endJunction/subscriptions","organizations_url":"https://api.github.com/users/endJunction/orgs","repos_url":"https://api.github.com/users/endJunction/repos","events_url":"https://api.github.com/users/endJunction/events{/privacy}","received_events_url":"https://api.github.com/users/endJunction/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-05T10:20:36Z","updated_at":"2016-09-05T10:20:36Z","closed_at":null,"body":"When using Boost 1.61 there is the following compilation error:\r\n\r\n```\r\n/usr/local/include/boost/optional/detail/optional_reference_spec.hpp:97:78: error: 'ptr_' is a private member of 'boost::optional<MeshLib::PropertyVector<unsigned long> &>'\r\n        explicit optional(const optional<U&>& rhs) BOOST_NOEXCEPT : ptr_(rhs.ptr_) {}\r\n                                                                             ^\r\n/Users/bilke/code/ogs6/ogs/MeshLib/MeshEditing/AddLayerToMesh.cpp:135:66: note: in instantiation of function template specialization 'boost::optional<const MeshLib::PropertyVector<unsigned long> &>::optional<MeshLib::PropertyVector<unsigned long> >' requested here\r\n    boost::optional<MeshLib::PropertyVector<std::size_t> const&> opt_node_id_pv(\r\n                                                                 ^\r\n/usr/local/include/boost/optional/detail/optional_reference_spec.hpp:83:8: note: implicitly declared private here\r\n    T* ptr_;\r\n```\r\n\r\nIn 1.61 there are some changes in `boost::optional`. See the [changelog](http://www.boost.org/users/history/version_1_61_0.html):\r\n\r\n> - all run-time bugs caused by incorrect reference binding on some compilers are now turned into compile-time errors"}}
{"actor":{"display_login":"bilke"}}