diff options
Diffstat (limited to 'doc/requirements/IOAble.md')
| -rw-r--r-- | doc/requirements/IOAble.md | 23 |
1 files changed, 23 insertions, 0 deletions
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<IOAble>, or std::ostream<IOAble>. + +## 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 + + + |
