Added new parameters for decode API

This commit is contained in:
Arun M 2017-12-04 19:01:45 +05:30
parent de38b3a82a
commit 09bc72c9f7
6 changed files with 107 additions and 6 deletions

View file

@ -5,7 +5,9 @@
#include "jwt/stack_alloc.hpp"
namespace jwt {
/*
* A basic_string implementation using stack allocation.
*/
template <size_t N>
using short_string = std::basic_string<char, std::char_traits<char>, stack_alloc<char, N>>;