{"action":"reopened","issue":{"url":"https://api.github.com/repos/HowardHinnant/date/issues/52","repository_url":"https://api.github.com/repos/HowardHinnant/date","labels_url":"https://api.github.com/repos/HowardHinnant/date/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/HowardHinnant/date/issues/52/comments","events_url":"https://api.github.com/repos/HowardHinnant/date/issues/52/events","html_url":"https://github.com/HowardHinnant/date/issues/52","id":155903711,"number":52,"title":"Feature request : default constructor","user":{"login":"coin-au-carre","id":1044719,"avatar_url":"https://avatars.githubusercontent.com/u/1044719?v=3","gravatar_id":"","url":"https://api.github.com/users/coin-au-carre","html_url":"https://github.com/coin-au-carre","followers_url":"https://api.github.com/users/coin-au-carre/followers","following_url":"https://api.github.com/users/coin-au-carre/following{/other_user}","gists_url":"https://api.github.com/users/coin-au-carre/gists{/gist_id}","starred_url":"https://api.github.com/users/coin-au-carre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coin-au-carre/subscriptions","organizations_url":"https://api.github.com/users/coin-au-carre/orgs","repos_url":"https://api.github.com/users/coin-au-carre/repos","events_url":"https://api.github.com/users/coin-au-carre/events{/privacy}","received_events_url":"https://api.github.com/users/coin-au-carre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-20T07:31:47Z","updated_at":"2016-05-21T17:43:21Z","closed_at":null,"body":"Is it possible to make the default constructors available for some classes ? For instance, calling `date::year_month_day foo;` is not possible. \r\nI need this feature for serialization purpose.\r\n\r\nThe following changes work for my cases: \r\n```\r\nclass year_month_day\r\n{\r\n    date::year  y_{0};\r\n    date::month m_{0};\r\n    date::day   d_{0};\r\n\r\npublic:\r\n    CONSTCD11 year_month_day() NOEXCEPT = default;\r\n    [etc...]\r\n```\r\n\r\nIf there is a good reason to prevent default ctor ? If yes, is there a workaround to achieve what I need ? Thanks!\r\n"}}
{"actor":{"display_login":"coin-au-carre"}}