-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Bug Report
suppose you have the following class:
class Point{
public:
Point();
private:
int x;
int y;
}then if you create a point:
Point p { 100, 100 };and do
json j = p;then you get the error:
static assertion failed: could not find to_json() method in T's namespace
static_assert(sizeof(BasicJsonType) == 0,
^
that is pretty st.forward, what is the reason of the failure?
Feature Request
-
Describe the feature in as much detail as possible.
-
Include sample usage where appropriate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
solution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation