blob: 58e26c90937c550bbab802f2446c51aea12b6256 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
#ifndef NEKIT_VARIANT_INL
#define NEKIT_VARIANT_INL
template <typename T>
inline T* Kernel::Variant::As() {
return reinterpret_cast<T*>(fPtr);
}
#endif
|