This commit is contained in:
Бранимир Караџић
2022-09-01 22:00:22 -07:00
parent d1becf7991
commit a5a483414a

View File

@@ -275,6 +275,11 @@ namespace bx
template<typename Ty>
constexpr Ty&& forward(RemoveReferenceT<Ty>&& _type);
/// Converts any type `Ty` to a reference type, making it possible to use member functions
/// in decltype expressions without the need to go through constructors.
template<typename Ty>
AddRvalueReferenceType<Ty> declVal();
} // namespace bx
#endif // BX_TYPETRAITS_H_HEADER_GUARD