add write id

This commit is contained in:
2025-02-07 21:10:06 +01:00
parent 032800b220
commit 6725a63c07
4 changed files with 38 additions and 3 deletions

View File

@@ -30,8 +30,11 @@ struct MessageInterfaceBuilder {
// add valid functionality if Valid tpe was provided
using Base6 = typename MessageInterfaceProcessValid<Base5, ParsedOptions::HasValid>::Type;
// add write id functionality if write id and write was provided
using Base7 = typename MessageInterfaceProcessWriteId<Base6, ParsedOptions::HasWriteId && ParsedOptions::HasWriteOperations>::Type;
// The last Base6 must be taken as final type.
using Type = Base6;
using Type = Base7;
};
} // namespace details