mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-15 01:08:31 +00:00
16 lines
320 B
C++
16 lines
320 B
C++
#ifndef CPP_JWT_SHORT_STRING_HPP
|
|
#define CPP_JWT_SHORT_STRING_HPP
|
|
|
|
#include <string>
|
|
#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>>;
|
|
|
|
}
|
|
|
|
#endif
|