Skip to content

Instantly share code, notes, and snippets.

View ProgramRipper's full-sized avatar
💯
Learning

ProgramRipper ProgramRipper

💯
Learning
View GitHub Profile
@Crspy
Crspy / concat_strings.cpp
Last active November 20, 2025 11:21
C++17 constexpr strings concatenation
#include <type_traits>
#include <array>
#include <iostream>
template<typename first, typename... rest>
constexpr auto all_same_v = std::conjunction_v<std::is_same<first, rest>...>;
template <typename... Ts>
constexpr auto concat_strings(Ts&&... args) {