{"action":"created","issue":{"url":"https://api.github.com/repos/ptal/expected/issues/73","labels_url":"https://api.github.com/repos/ptal/expected/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/ptal/expected/issues/73/comments","events_url":"https://api.github.com/repos/ptal/expected/issues/73/events","html_url":"https://github.com/ptal/expected/issues/73","id":52186398,"number":73,"title":"possible bug (clang 3.6)","user":{"login":"dirvine","id":123627,"avatar_url":"https://avatars.githubusercontent.com/u/123627?v=3","gravatar_id":"","url":"https://api.github.com/users/dirvine","html_url":"https://github.com/dirvine","followers_url":"https://api.github.com/users/dirvine/followers","following_url":"https://api.github.com/users/dirvine/following{/other_user}","gists_url":"https://api.github.com/users/dirvine/gists{/gist_id}","starred_url":"https://api.github.com/users/dirvine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirvine/subscriptions","organizations_url":"https://api.github.com/users/dirvine/orgs","repos_url":"https://api.github.com/users/dirvine/repos","events_url":"https://api.github.com/users/dirvine/events{/privacy}","received_events_url":"https://api.github.com/users/dirvine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2014-12-17T00:26:45Z","updated_at":"2015-07-05T21:17:17Z","closed_at":null,"body":"Including expected.hpp with Ubuntu clang version 3.6.0-svn224230-1~exp1 (trunk) (based on LLVM 3.6.0)\r\n\r\nGives several errors about return types (output below) \r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/unexpected.hpp:46:34: error: functions that differ only in their return type cannot be overloaded\r\n    BOOST_FORCEINLINE ErrorType& value() &\r\n                      ~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/unexpected.hpp:41:40: note: previous declaration is here\r\n    BOOST_FORCEINLINE ErrorType const& value() const&\r\n                      ~~~~~~~~~~~~~~~~ ^\r\nIn file included from /home/dirvine/Devel/MaidSafe-dirvine/src/routing/src/maidsafe/routing/vault_node.cc:19:\r\nIn file included from /home/dirvine/Devel/MaidSafe-dirvine/src/routing/include/maidsafe/routing/vault_node.h:27:\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:697:9: error: functions that differ only in their return type cannot be overloaded\r\n  bool& contained_has_value() & { return base_type::has_value; }\r\n  ~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:695:31: note: previous declaration is here\r\n  BOOST_CONSTEXPR const bool& contained_has_value() const& { return base_type::has_value; }\r\n                        ~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:703:15: error: functions that differ only in their return type cannot be overloaded\r\n  value_type& contained_val() & { return base_type::storage.val(); }\r\n  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:701:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR const value_type& contained_val() const& { return base_type::storage.val(); }\r\n                        ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:709:15: error: functions that differ only in their return type cannot be overloaded\r\n  error_type& contained_err() & { return base_type::storage.err(); }\r\n  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:707:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR const error_type& contained_err() const& { return base_type::storage.err(); }\r\n                        ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:999:31: error: functions that differ only in their return type cannot be overloaded\r\n  BOOST_CONSTEXPR value_type& value() &\r\n                  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:989:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR value_type const& value() const&\r\n                  ~~~~~~~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1034:31: error: functions that differ only in their return type cannot be overloaded\r\n  BOOST_CONSTEXPR value_type& operator*() & BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1029:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR value_type const& operator*() const& BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1060:15: error: functions that differ only in their return type cannot be overloaded\r\n  value_type* operator->() BOOST_NOEXCEPT\r\n  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1054:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR value_type const* operator->() const BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1070:31: error: functions that differ only in their return type cannot be overloaded\r\n  BOOST_CONSTEXPR error_type& error() & BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1066:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR error_type const& error() const& BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1531:9: error: functions that differ only in their return type cannot be overloaded\r\n  bool& contained_has_value() & { return base_type::has_value; }\r\n  ~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1529:31: note: previous declaration is here\r\n  BOOST_CONSTEXPR const bool& contained_has_value() const& { return base_type::has_value; }\r\n                        ~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1537:15: error: functions that differ only in their return type cannot be overloaded\r\n  error_type& contained_err() & { return base_type::storage.err(); }\r\n  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1535:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR const error_type& contained_err() const& { return base_type::storage.err(); }\r\n                        ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1736:31: error: functions that differ only in their return type cannot be overloaded\r\n  BOOST_CONSTEXPR error_type& error() & BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~ ^\r\n/home/dirvine/Devel/MaidSafe-dirvine/buildclang/boost_1_57_0_Clang_3_5_0/boost/expected/expected.hpp:1732:37: note: previous declaration is here\r\n  BOOST_CONSTEXPR error_type const& error() const& BOOST_NOEXCEPT\r\n                  ~~~~~~~~~~~~~~~~~ ^\r\n"},"comment":{"url":"https://api.github.com/repos/ptal/expected/issues/comments/118668163","html_url":"https://github.com/ptal/expected/issues/73#issuecomment-118668163","issue_url":"https://api.github.com/repos/ptal/expected/issues/73","id":118668163,"user":{"login":"viboes","id":721225,"avatar_url":"https://avatars.githubusercontent.com/u/721225?v=3","gravatar_id":"","url":"https://api.github.com/users/viboes","html_url":"https://github.com/viboes","followers_url":"https://api.github.com/users/viboes/followers","following_url":"https://api.github.com/users/viboes/following{/other_user}","gists_url":"https://api.github.com/users/viboes/gists{/gist_id}","starred_url":"https://api.github.com/users/viboes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viboes/subscriptions","organizations_url":"https://api.github.com/users/viboes/orgs","repos_url":"https://api.github.com/users/viboes/repos","events_url":"https://api.github.com/users/viboes/events{/privacy}","received_events_url":"https://api.github.com/users/viboes/received_events","type":"User","site_admin":false},"created_at":"2015-07-05T21:17:17Z","updated_at":"2015-07-05T21:17:17Z","body":"https://github.com/ptal/expected/commit/6d0274dc50047e4da4a152296a5cb5552c46d97c"}}