How can I avoid using #define macros in C++ in a case where I have to concatenate two const char*...

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=7B7k3gpv-Co



Duration: 5:27
5 views
0


How can I avoid using #define macros in C++ in a case where I have to concatenate two const char* variables?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/2278562/vin%c3%adcius-ferr%c3%a3o)Vinícius Ferrão |
(stackoverflow.com/users/11638718/%e5%ba%b7%e6%a1%93%e7%91%8b)康桓瑋 |
(stackoverflow.com/users/17732522/user17732522)user17732522 |
(stackoverflow.com/users/108796/blindy)Blindy |
A special thanks goes out to the (https://stackoverflow.com/questions/75216821/how-can-i-avoid-using-define-macros-in-c-in-a-case-where-i-have-to-concatenat)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

string-view constexpr fmt c++20 c++







Tags:
string-view
constexpr
fmt
c++20
c++