Ruby
4.1.0dev (2026-11-19 revision 2e6b197f6849401b2c25894b5b8ac39ac3c2558e)
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