#C++ Version?

26 messages ยท Page 1 of 1 (latest)

charred bough
#

How do you choose your C++ version for a project?

viscid lionBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

celest island
#

you use the latest version you can use

crystal bronze
#

The latest version is usually a good choice for a solo project, the penultimate latest version is what I see people saying should be used for larger projects

celest island
#

always use the latest version you can use. on large projects, there will likely be constraints regarding that. in that case, you likely won't be able to use the absolute latest version but just the latest version the tools you need to use support, or whatever version regulations/certification requires you to use, etc.

grim gyro
#

ALWAYS use the latest version PLEASSEEE

charred bough
#

Many people saying latest version possible...any takers for older versions?

umbral monolith
#

Why should one do this? Can you give any reasoning?

sudden lava
#

You use the latest version you can. We do this even in production ๐Ÿ™‚

#

The only thing stopping you is having to support several compilers/compiler versions, then you must pick the version they all support

umbral monolith
#

Yeah, you take the most recent version of what is available under the circumstances, like HolyBlackCat already wrote

onyx warren
dreamy meadow
#

C++17 is minimum. C++20 is most likely ok too, but check. C++23 is probably somewhat difficult.

#

if you're stuck on pre C++17.. you may as well go bang rocks together with the other C neanderthals </opinion>

ionic flax
#

I think he's asking how to edit the version

dreamy meadow
#

nah, someone with those grammar skillz should be able to form that question better.

ionic flax
#

he want to choose c++ version for a project

#

he didn't ask what to use

viscid lionBOT
#
DHM

Many people saying latest version possible...any takers for older versions?

From #1298837696592220192 [[Jump to message]](#1298837696592220192 message)

mild ore
#

I think he did ask what version to use, not how to select one

charred bough
ionic flax
#

bro fix ur grammar ๐Ÿ˜ญ

dreamy meadow
#

newest. it has more features.

proud drum
#

By the time the project is done, the version will be ancient anyway.