Botan 3.7.1
Crypto and TLS for C&
types.h File Reference

Public Header. More...

#include <botan/api.h>
#include <botan/build.h>
#include <cstddef>
#include <cstdint>
#include <memory>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Macros

#define BOTAN_CPLUSPLUS   __cplusplus
 

Typedefs

using Botan::byte = std::uint8_t
 
using Botan::s32bit = std::int32_t
 
using Botan::u16bit = std::uint16_t
 
using Botan::u32bit = std::uint32_t
 
using Botan::u64bit = std::uint64_t
 

Detailed Description

Public Header.

Definition in file types.h.

Macro Definition Documentation

◆ BOTAN_CPLUSPLUS

#define BOTAN_CPLUSPLUS   __cplusplus

MSVC does define __cplusplus but pins it at 199711L, because "legacy". Note: There is a compiler switch to enable standard behavior (/Zc:__cplusplus), but we can't control that in downstream applications.

See: https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus

Definition at line 29 of file types.h.