mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-01 14:20:08 +01:00
rsx/util: Add some c++ guards around simple_array class
This commit is contained in:
parent
10171c19c3
commit
7e131f8fb6
|
|
@ -6,6 +6,9 @@
|
|||
namespace rsx
|
||||
{
|
||||
template <typename Ty>
|
||||
concept is_simple_pod_v = (std::is_trivially_constructible_v<Ty>) && (std::is_trivially_destructible_v <Ty>);
|
||||
|
||||
template <typename Ty> requires is_simple_pod_v<Ty>
|
||||
struct simple_array
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Reference in a new issue