Ruby
4.1.0dev (2026-11-18 revision 9de06831e37534f8a163e598cc0c6903c7687430)
prism
compiler
lifetimebound.hpp
Go to the documentation of this file.
1
4
#ifndef PRISM_COMPILER_LIFETIMEBOUND_HPP
5
#define PRISM_COMPILER_LIFETIMEBOUND_HPP
6
13
#if defined(__has_cpp_attribute)
14
# if __has_cpp_attribute(clang::lifetimebound)
15
# define PRISM_LIFETIMEBOUND [[clang::lifetimebound]]
16
# elif __has_cpp_attribute(msvc::lifetimebound)
17
# define PRISM_LIFETIMEBOUND [[msvc::lifetimebound]]
18
# endif
19
#endif
20
21
#ifndef PRISM_LIFETIMEBOUND
22
# define PRISM_LIFETIMEBOUND
23
#endif
24
25
#endif
Generated by
1.15.0