Where to place function attributes?
Era Scarecrow
rtcvb32 at yahoo.com
Sun Aug 19 13:05:33 PDT 2012
On Sunday, 19 August 2012 at 07:57:15 UTC, Jeremy DeHaan wrote:
> This probably isn't specifically a D only question as I've seen
> this in C++ too, but does it make any kind of difference where
> an attribute is placed when writing a function?
I've gotten in a habit of putting it to the right.
struct X {
string something() @safe const pure nothrow
{ ... }
}
More information about the Digitalmars-d-learn
mailing list