Zao SDK for Jetson / libzao-endpoint API リファレンス
1.5.0.0 (2024-09-25)
Loading...
Searching...
No Matches
include
zao
endpoint
Common.hpp
1
#ifndef ZAO_ENDPOINT_COMMON_HPP_
2
#define ZAO_ENDPOINT_COMMON_HPP_
3
4
#if __cplusplus < 201402L
5
#error "ZEP library requires C++14 or newer"
6
#elif __cplusplus < 201703L
7
8
// C++14
9
10
#if defined(__GNUC__) && (__GNUC__ >= 4)
11
#define ZAO_ENDPOINT_NODISCARD __attribute__((warn_unused_result))
12
#elif defined(_MSC_VER) && (_MSC_VER >= 1700)
13
#define ZAO_ENDPOINT_NODISCARD _Check_return_
14
#else
15
#define ZAO_ENDPOINT_NODISCARD
16
#endif
17
18
#else
19
20
// C++17 or higher
21
22
#define ZAO_ENDPOINT_NODISCARD [[nodiscard]]
23
24
#endif
25
26
#endif
// ZAO_ENDPOINT_COMMON_HPP_
Generated on Wed Sep 25 2024 13:39:06 for Zao SDK for Jetson / libzao-endpoint API リファレンス by
1.9.7