Home » U++ Library support » U++ Core » Doubt with Buffer<> of a trivially destructible type
Re: Doubt with Buffer<> of a trivially destructible type [message #61338 is a reply to message #61331] |
Fri, 27 December 2024 18:34  |
 |
koldo
Messages: 3437 Registered: August 2008
|
Senior Veteran |
|
|
mirek wrote on Thu, 26 December 2024 18:47- For C++ 17, just insert constexpr in the std::is_trivially_destructible check, to force it to work in compile time:
if constexpr (std::is_trivially_destructible<T>::value)
We are now C++17 -> used this one Thank you Mirek. Problem solved!
Best regards
IƱaki
|
|
|
 |
|
Doubt with Buffer<> of a trivially destructible type
By: koldo on Thu, 12 December 2024 12:58
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Oblivion on Thu, 12 December 2024 14:15
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Oblivion on Thu, 12 December 2024 14:40
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: koldo on Thu, 12 December 2024 16:05
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Lance on Sat, 14 December 2024 19:19
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: koldo on Sat, 14 December 2024 20:45
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Lance on Sat, 14 December 2024 20:53
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Lance on Sat, 14 December 2024 21:02
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Lance on Sat, 14 December 2024 21:37
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: koldo on Sun, 15 December 2024 12:25
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: koldo on Sun, 15 December 2024 12:45
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: Lance on Sun, 15 December 2024 14:29
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: mirek on Thu, 26 December 2024 18:47
|
 |
|
Re: Doubt with Buffer<> of a trivially destructible type
By: koldo on Fri, 27 December 2024 18:34
|
Goto Forum:
Current Time: Fri Jun 06 09:10:29 CEST 2025
Total time taken to generate the page: 0.04122 seconds
|