Date: Mon, 15 Aug 2022 19:39:26 +1000
Apologies for top-posting as a reply, I did not receive the previous email
due to a settings misconfiguration and as such cannot reply to it through
normal means. The problem has since been resolved.
The functions provided were only an example. For more complex, multi-line
functions, as is the typical function, having to wrap them in a namespace
block can get quite annoying.
say:
export module foo;
export namespace foo void bar(const bool inp)
{
if (!inp)
{
for (int i=0; i<0x83; i++;)
{
std::cout << ~i;
}
}
}
as opposed to
export module foo;
export namespace foo void bar(const bool inp);
if (!inp)
{
for (int i=0; i<0x83; i++;)
{
std::cout << ~i;
}
}
or
export module foo;
export namespace foo;
export void bar(const bool inp)
if (!inp)
{
for (int i=0; i<0x83; i++;)
{
std::cout << ~i;
}
}
due to a settings misconfiguration and as such cannot reply to it through
normal means. The problem has since been resolved.
The functions provided were only an example. For more complex, multi-line
functions, as is the typical function, having to wrap them in a namespace
block can get quite annoying.
say:
export module foo;
export namespace foo void bar(const bool inp)
{
if (!inp)
{
for (int i=0; i<0x83; i++;)
{
std::cout << ~i;
}
}
}
as opposed to
export module foo;
export namespace foo void bar(const bool inp);
if (!inp)
{
for (int i=0; i<0x83; i++;)
{
std::cout << ~i;
}
}
or
export module foo;
export namespace foo;
export void bar(const bool inp)
if (!inp)
{
for (int i=0; i<0x83; i++;)
{
std::cout << ~i;
}
}
Received on 2022-08-15 09:39:40