Prot.isSubsetOf

Checks if parent defines different access restrictions than this one.

struct Prot
extern (C++) const
bool
isSubsetOf
(
ref const Prot parent
)

Parameters

parent Prot

protection attribute for scope that hosts this one

Return Value

Type: bool

'true' if parent is already more restrictive than this one and thus no differentiation is needed.

Meta