Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

c++17

How to enable C++17 compiling in Visual Studio?

by IT Nursery

I want to use C++17 features. How can I switch compiling from C++14 to C++17 in Microsoft Visual Studio? Or it’s not avaiable … Read more

Tags c, c++17, compilation, visual-studio

Does C++11, 14, 17 or 20 introduce a standard constant for pi?

by IT Nursery

There is a rather silly problem with the number pi in C and C++. As far as I know M_PI defined in math.h … Read more

Tags c, c++11, c++14, c++17, language-lawyer

What made i = i++ + 1; legal in C++17?

by IT Nursery

Before you start yelling undefined behaviour, this is explicitly listed in N4659 (C++17) i = i++ + 1; // the value of i … Read more

Tags c, c++17, language-lawyer

What is string_view?

by IT Nursery

string_view was a proposed feature within the C++ Library Fundamentals TS(N3921) added to C++17 As far as i understand it is a type … Read more

Tags c, c++17, fundamentals-ts, string-view

std::lock_guard or std::scoped_lock?

by IT Nursery

C++17 introduced a new lock class called std::scoped_lock. Judging from the documentation it looks similar to the already existing std::lock_guard class. What’s the … Read more

Tags c, c++17, locking, multithreading

How exactly is std::string_view faster than const std::string&?

by IT Nursery

std::string_view has made it to C++17 and it is widely recommended to use it instead of const std::string&. One of the reasons is … Read more

Tags c, c++17, string, string-view

What is the purpose of std::launder?

by IT Nursery

P0137 introduces the function template std::launder and makes many, many changes to the standard in the sections concerning unions, lifetime, and pointers. What … Read more

Tags c, c++-faq, c++17, memory, stdlaunder

enum to string in modern C++11 / C++14 / C++17 and future C++20

by IT Nursery

Contrary to all other similar questions, this question is about using the new C++ features. 2008 c Is there a simple way to … Read more

Tags c, c++17, c++20, enums, string

What are Aggregates and PODs and how/why are they special?

by IT Nursery

This FAQ is about Aggregates and PODs and covers the following material: What are Aggregates? What are PODs (Plain Old Data)? How are … Read more

Tags aggregate, c, c++11, c++17, standard-layout

What are the new features in C++17?

by IT Nursery

This question’s answers are a community effort. Edit existing answers to improve this post. It is not currently accepting new answers or interactions. … Read more

Tags c, c++-faq, c++17, standards

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery