Constexpr Static Const

  Рет қаралды 7,416

CopperSpice

CopperSpice

Күн бұрын

Пікірлер: 20
@paulchoudhury2573
@paulchoudhury2573 2 жыл бұрын
These two individuals continue to provide detailed and understandable explanations of tricky C++ language features . . . they rock!
@marsmartin7335
@marsmartin7335 6 жыл бұрын
Content was definitely of value! Nice, concise, and explained in human language. 😁
@GurpreetKakar4873
@GurpreetKakar4873 6 жыл бұрын
This channel deserves more subscribers.
@BloodHaZaRd666
@BloodHaZaRd666 6 жыл бұрын
Nice video for refreshing memory.
@AlexSmith-fs6ro
@AlexSmith-fs6ro 5 жыл бұрын
Incredibly well explained, thank you.
@tourdesource
@tourdesource Жыл бұрын
Would it be possible to specify a different storage mechanism for QString using std::is_constant_evaluated() for SFINAE?
@CopperSpice
@CopperSpice Жыл бұрын
Can you let us know why you want to change the storage for a QString? Where are you looking to replace an SFINAE?
@tourdesource
@tourdesource Жыл бұрын
​@@CopperSpice Forgive me, I suppose I didn't explain myself very well. In the video, you talk about not being able to change QString's storage mechanism exclusively at compile time (in order to use a fixed-length array, I suppose) with the goal of declaring QString as constexpr. The reasoning given is that it would not be possible since there is no way to detect whether the object is being constructed at compile time or at runtime. Then I thought about adding a template parameter to the class using std::is_constant_evaluated in conjunction with std::enable_if to generate a version of QString using whatever storage should be convenient for a constexpr version of it. Perhaps what I'm saying doesn't make any sense, it's just that this video came right after the one on SFINAE so things might have gotten mixed up in my head! At any rate, thank you for the amazing material here. I'm especially excited to try CsLibGuarded after watching Ansel's talks and would love to be able to contribute to CopperSpice but it's not looking like I have what it takes just yet haha
@CopperSpice
@CopperSpice Жыл бұрын
If you would like to work on CopperSpice you are more than welcome to contribute. We suggest you start by building CS on one of our supported platforms. Then look at the Catch tests and see what else you can add. Email us with any questions!
@cozartshmoopler4679
@cozartshmoopler4679 4 жыл бұрын
Y’all are legends
@saulozitos
@saulozitos 3 жыл бұрын
Could you share this slide?
@CopperSpice
@CopperSpice 3 жыл бұрын
May I ask what you are looking for?
@saulozitos
@saulozitos 3 жыл бұрын
@@CopperSpice I am putting together a presentation for my college where I will try to talk about constexpr. I found your presentation very interesting and would like to be able to quote it in my presentation.
@CopperSpice
@CopperSpice 3 жыл бұрын
Cool that you found our video of value. Please feel free to quote this material in your presentation and then supply a direct link to the video in your bibliography. This will give other students the opportunity to watch this video and possibly others. Let us know if you have any questions.
@Strak3r007
@Strak3r007 4 жыл бұрын
I think tagging the videos series with "C++" would help getting more exposure. It's unfortunate, as high quality material is hard to come across.
@CopperSpice
@CopperSpice 4 жыл бұрын
The video does have tags of C++, C++11, and several others. It is also in our C++ play list. Since you enjoyed the video you can help us gain visibility by posting on your sites and telling other colleagues. We hope you enjoy our other videos.
@Strak3r007
@Strak3r007 4 жыл бұрын
@@CopperSpice I noticed now that most playlists and other videos on the channel are tagged, after watching some more. I may be missing something, but I don't see the tags on this one(not that "constexpr" is not specific enough anyway). I did recommend your channel to some of my colleagues. Keep up the good work! :)
@liphumilesigenu7674
@liphumilesigenu7674 3 жыл бұрын
Nice video
@IllumTheMessage
@IllumTheMessage 6 жыл бұрын
Helpful, thank you.
@emiliadaria
@emiliadaria 6 жыл бұрын
Very informative!
Moving to C++17
11:47
CopperSpice
Рет қаралды 3,7 М.
Modern C++ (move semantics, perfect forwarding)
19:49
CopperSpice
Рет қаралды 22 М.
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
CppCon 2015: Scott Schurr “constexpr: Introduction”
1:04:07
std::variant
17:51
CopperSpice
Рет қаралды 9 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 343 М.
Modern C++ (data types, references)
17:42
CopperSpice
Рет қаралды 16 М.
Auto is Not a Data Type
16:54
CopperSpice
Рет қаралды 1,9 М.
CppCon 2015: Scott Schurr “constexpr: Applications"
1:00:29
you will never ask about pointers again after watching this video
8:03
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН