Skip to content
#

Discord

discord logo

Discord is a proprietary freeware voice-over-Internet Protocol (VoIP) application designed for video gaming communities, that specializes in text, image, video, and audio communication between users in a chat channel.

Here are 11,649 public repositories matching this topic...

duncanspumpkin
duncanspumpkin commented Feb 14, 2021

We currently use a macro for writing down a money amount as a literal. We should move to a more modern C++ representation with a user defined literal like the below:

constexpr money32 operator"" _GBP(long double money)
{
    return money * 10;
}

static_assert(MONEY(2, 40) == 2.40_GBP);

Go through the codebase and replace all MONEY macro uses with the equivalent version. You m

Organization
discord
Website
discord.com
Wikipedia
Wikipedia