{"action":"created","issue":{"url":"https://api.github.com/repos/nogden/xxsqlite/issues/5","labels_url":"https://api.github.com/repos/nogden/xxsqlite/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/nogden/xxsqlite/issues/5/comments","events_url":"https://api.github.com/repos/nogden/xxsqlite/issues/5/events","html_url":"https://github.com/nogden/xxsqlite/issues/5","id":56744065,"number":5,"title":"different definition of std::function","user":{"login":"bithavoc","id":219289,"avatar_url":"https://avatars.githubusercontent.com/u/219289?v=3","gravatar_id":"","url":"https://api.github.com/users/bithavoc","html_url":"https://github.com/bithavoc","followers_url":"https://api.github.com/users/bithavoc/followers","following_url":"https://api.github.com/users/bithavoc/following{/other_user}","gists_url":"https://api.github.com/users/bithavoc/gists{/gist_id}","starred_url":"https://api.github.com/users/bithavoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bithavoc/subscriptions","organizations_url":"https://api.github.com/users/bithavoc/orgs","repos_url":"https://api.github.com/users/bithavoc/repos","events_url":"https://api.github.com/users/bithavoc/events{/privacy}","received_events_url":"https://api.github.com/users/bithavoc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T23:03:30Z","updated_at":"2015-02-08T10:42:43Z","closed_at":"2015-02-08T10:42:43Z","body":"This definition of `std::function` found in database.hpp is causing problems when you include `<functional`> and xxsqlite in the same project, IMHO we should `include <functional>` in that header.\r\n\r\nThis is the offending definition:\r\n\r\n```c++\r\nnamespace std {\r\n    template<class T> class function;\r\n}   // namespace std\r\n```\r\n\r\nsee here: https://github.com/nogden/xxsqlite/blob/master/src/database.hpp#L28"},"comment":{"url":"https://api.github.com/repos/nogden/xxsqlite/issues/comments/73405613","html_url":"https://github.com/nogden/xxsqlite/issues/5#issuecomment-73405613","issue_url":"https://api.github.com/repos/nogden/xxsqlite/issues/5","id":73405613,"user":{"login":"nogden","id":3968417,"avatar_url":"https://avatars.githubusercontent.com/u/3968417?v=3","gravatar_id":"","url":"https://api.github.com/users/nogden","html_url":"https://github.com/nogden","followers_url":"https://api.github.com/users/nogden/followers","following_url":"https://api.github.com/users/nogden/following{/other_user}","gists_url":"https://api.github.com/users/nogden/gists{/gist_id}","starred_url":"https://api.github.com/users/nogden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nogden/subscriptions","organizations_url":"https://api.github.com/users/nogden/orgs","repos_url":"https://api.github.com/users/nogden/repos","events_url":"https://api.github.com/users/nogden/events{/privacy}","received_events_url":"https://api.github.com/users/nogden/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T10:42:43Z","updated_at":"2015-02-08T10:42:43Z","body":"I've just pushed a commit making this change.\r\n\r\nIt turns out that opening the std namespace is not allowed anyway, so this way always an error. Thanks for reporting this."}}