Home » U++ Library support » U++ Core » c++ 17 support (std::invoke)
c++ 17 support [message #53868] |
Sat, 09 May 2020 23:21 |
michael79
Messages: 4 Registered: May 2020
|
Junior Member |
|
|
Hi all.
As I read, C++ 17 is supported.
Can I use std::invoke from this standard?
Is there an analog for this in Upp?
|
|
|
|
Re: c++ 17 support [message #53878 is a reply to message #53868] |
Sun, 10 May 2020 18:17 |
Novo
Messages: 1371 Registered: December 2006
|
Ultimate Contributor |
|
|
michael79 wrote on Sat, 09 May 2020 17:21
Can I use std::invoke from this standard?
You just need to change a default build method (or create a new build method) and set C++ version to 17.
For example, in case of Clang in "Common C++ options" replace -std=c++14 with -std=c++17.
Hope this helps.
Regards,
Novo
[Updated on: Sun, 10 May 2020 18:18] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sat Sep 21 02:18:16 CEST 2024
Total time taken to generate the page: 0.00855 seconds
|