-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply
MakerTypeFor
constraints for const variants in a typical way, at
methods, instead of by conditionally deriving from a helper class. In contrast to `InvokerType`, there is no type alias to define conditionally, so plain constraints work. For `{MakerType,MakerTypeFor}::ConstructAt()`, explicitly constrain the target to be a non-reference type, because placement `new` does not work for references. Consistently apply `std::is_constructible` constraints to all relevant operations in `MakerTypeFor`, instead of relying on the fact that the constructor must have prevented constructing an unusable object. PiperOrigin-RevId: 688989545
- Loading branch information
Showing
1 changed file
with
110 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters