λ61
Loading...
Searching...
No Matches
Object.hpp File Reference
#include <string>
#include <type_traits>
#include <utility>
#include <typeinfo>
#include <format>
#include "json.hpp"

Go to the source code of this file.

Classes

class  l61::Object
struct  nlohmann::adl_serializer< T >
struct  std::formatter< T >
struct  std::hash< T >

Namespaces

namespace  l61
namespace  l61::meta

Concepts

concept  l61::meta::l61Obj
concept  l61::meta::l61ObjPtr

Macros

#define L61_OBJECT_HPP

Functions

template<l61Obj T, l61Obj Ty>
bool l61::meta::instanceof (const Ty &value)
 Checks if a value is an instance of type T (or derived from T).
template<l61Obj T, l61Obj Ty>
bool l61::meta::exact_instanceof (const Ty &value)
 Checks if a value is exactly of type T.
template<l61Obj T, l61Obj Ty>
constexpr bool l61::meta::static_instanceof (const Ty &)
 Checks if a value is an instance of type T (or derived from T) at compile-time.

Macro Definition Documentation

◆ L61_OBJECT_HPP

#define L61_OBJECT_HPP