• Théo DELRIEU's avatar
    add new is_constructible_* traits used in from_json · 45c8af2c
    Théo DELRIEU authored
    is_compatible_* traits were used in from_json, but it made no sense
    whatsoever.
    
    It used to work because of non-SFINAE correctness + json_ref
    unconstrained variadic template constructor.
    
    SFINAE checks are becoming quite complex, we need a specification of
    some sort describing:
    
    * which concepts the library uses
    * how the conversion to/from json works in detail
    
    Having such a specification would really help simplifying the current
    code (as well as having meaningful checks).
    
    Fixes !1299
    45c8af2c
json.hpp 650 KB