Added short string type

This commit is contained in:
Arun M 2017-12-04 13:23:08 +05:30
parent 9e69389caf
commit de38b3a82a

View file

@ -0,0 +1,14 @@
#ifndef CPP_JWT_SHORT_STRING_HPP
#define CPP_JWT_SHORT_STRING_HPP
#include <string>
#include "jwt/stack_alloc.hpp"
namespace jwt {
template <size_t N>
using short_string = std::basic_string<char, std::char_traits<char>, stack_alloc<char, N>>;
}
#endif