mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
rsx/util: Add some c++ guards around simple_array class
This commit is contained in:
parent
10171c19c3
commit
7e131f8fb6
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
namespace rsx
|
namespace rsx
|
||||||
{
|
{
|
||||||
template <typename Ty>
|
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
|
struct simple_array
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue