You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
323 B
20 lines
323 B
/* |
|
* Copyright (C) 2022 Riyyi |
|
* |
|
* SPDX-License-Identifier: MIT |
|
*/ |
|
|
|
#pragma once |
|
|
|
namespace Util { |
|
|
|
namespace Detail { |
|
|
|
// Avoid ODR (One Definition Rule) violations, |
|
// variable templates are required to have external linkage |
|
template<typename T> |
|
constexpr T staticConst {}; |
|
|
|
} // namespace Detail |
|
|
|
} // namespace Util
|
|
|