From aaa2c9eeff7540776e7056b1015e58a61bea97af Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 19 Feb 2026 07:40:41 +0100 Subject: chore: core: WiP transactions API. Signed-off-by: Amlal El Mahrouss --- doc/requirements/IOAble.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/requirements/IOAble.md (limited to 'doc') diff --git a/doc/requirements/IOAble.md b/doc/requirements/IOAble.md new file mode 100644 index 0000000..81aaa20 --- /dev/null +++ b/doc/requirements/IOAble.md @@ -0,0 +1,23 @@ +# IOAble (Container must be IO oriented) + +## Abstract: + +- Introduced: OCL v1.7 +- Purpose: Gives a container the methods to communicate with injectors such as transaction, or std::ostream. + +## Example: + +```cpp + struct IORound { + long operator>>(float); + float operaotr<<(long); + long operator*(); // latest IO value (copy-constructable). + }; +``` + +## Sources: + +- https://en.cppreference.com/w/cpp/named_req/CopyConstructible.html + + + -- cgit v1.2.3