mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-12 08:11:05 +00:00
Update documentation
This commit is contained in:
parent
3a74e072a5
commit
62d7819062
12
misc.h
12
misc.h
@ -6,6 +6,8 @@
|
|||||||
#ifndef CRYPTOPP_MISC_H
|
#ifndef CRYPTOPP_MISC_H
|
||||||
#define CRYPTOPP_MISC_H
|
#define CRYPTOPP_MISC_H
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include "cryptlib.h"
|
#include "cryptlib.h"
|
||||||
#include "secblockfwd.h"
|
#include "secblockfwd.h"
|
||||||
#include "smartptr.h"
|
#include "smartptr.h"
|
||||||
@ -486,12 +488,10 @@ inline size_t BytePtrSize(const std::string& str)
|
|||||||
size_t BytePtrSize(const SecByteBlock& str);
|
size_t BytePtrSize(const SecByteBlock& str);
|
||||||
|
|
||||||
/// \brief Integer value
|
/// \brief Integer value
|
||||||
/// \details EnumToInt is a convenience macro to convert enums
|
/// \details EnumToInt avoids C++20 enum-enum conversion
|
||||||
/// to integers. The cast avoids C++20 enum-enum conversion
|
/// warnings under GCC and Clang. C++11 and above use a
|
||||||
/// warnings.
|
/// constexpr function. C++03 and below use a macro due
|
||||||
/// \details C++11 and above use a constexpr function. C++03
|
/// to [lack of] constexpr-ness in early versions of C++.
|
||||||
/// and below use a macro due to [lack of] constexpr-ness in
|
|
||||||
/// early versions of C++.
|
|
||||||
/// \since Crypto++ 8.6
|
/// \since Crypto++ 8.6
|
||||||
#if (CRYPTOPP_CXX11_CONSTEXPR)
|
#if (CRYPTOPP_CXX11_CONSTEXPR)
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user