Ruby
4.1.0dev (2026-11-12 revision acc624e47b178e3514d848a949f8e25d4e49e175)
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.9.8