Skip to content

Commit

Permalink
rough nholmann/json traits
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc committed May 20, 2020
1 parent 56ffe08 commit 45ccd61
Show file tree
Hide file tree
Showing 4 changed files with 22,987 additions and 1 deletion.
4 changes: 4 additions & 0 deletions include/jwt-cpp/jwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,10 @@ namespace jwt {
: val(v)
{}

JWT_CLAIM_EXPLICIT claim(typename traits::value&& v)
: val(std::move(v))
{}

claim(set s)
: val(typename traits::array(s.begin(), s.end()))
{}
Expand Down
Loading

0 comments on commit 45ccd61

Please sign in to comment.