Shouldn't std.variant use const where appropriate?

Brian Price blprice61 at yahoo.com
Wed Jun 11 11:08:07 PDT 2008


D2.0's Phobos std.variant templates do not have non-mutating methods marked as const.  This makes them next to useless by code that is respecting const.  Is this by design or something that will be fixed?

Thanks,
Brian




More information about the Digitalmars-d mailing list