eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

216
active users

#cxx

0 posts0 participants0 posts today
Uli Kusterer (Not a kitteh)<p>Say, is there a trick in C++ to make to_string() work for any type?</p><p>If I have</p><p>using namespace std;</p><p>and then just write</p><p>to_string(foo)</p><p>it will prefer my local namespace's to_string(MyClass) and error when given an int, instead of picking std::to_string(int) for those.</p><p>Do I really have to add all variants of</p><p>inline string to_string(int n) { return std::to_string(n); }</p><p>to my namespace to be able to just say to_string(foo) for any type and make it work?</p><p><a href="https://chaos.social/tags/CPlusPlus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPlusPlus</span></a> <a href="https://chaos.social/tags/CPP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPP</span></a> <a href="https://chaos.social/tags/CXX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CXX</span></a> <a href="https://chaos.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Uli Kusterer (Not a kitteh)<p>Some nice additions for annotating C++ code to make it import better into Swift:</p><p><a href="https://developer.apple.com/videos/play/wwdc2025/311" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/videos/pla</span><span class="invisible">y/wwdc2025/311</span></a></p><p><a href="https://chaos.social/tags/CPlusPlus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPlusPlus</span></a> <a href="https://chaos.social/tags/cpp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpp</span></a> <a href="https://chaos.social/tags/cxx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cxx</span></a> <a href="https://chaos.social/tags/swiftlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swiftlang</span></a></p>
AaronNGray<p>Looking for other TypeScript, C++, and Type Theorists who have time for interesting ideas. <a href="https://geekdom.social/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a> <a href="https://geekdom.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>++ <a href="https://geekdom.social/tags/Cplusplus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cplusplus</span></a> <a href="https://geekdom.social/tags/Cxx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cxx</span></a> <a href="https://geekdom.social/tags/TypeTheory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeTheory</span></a></p>