fixup! WIP: posts: add mutiple-dispatch-in-c++

This commit is contained in:
Bruno BELANYI 2022-11-02 15:52:38 +01:00
parent 1f65d803a7
commit 80ef143ef2

View file

@ -96,7 +96,7 @@ For example, a dummy file-system interface might look like the following:
```cpp
struct Filesystem {
virtual void write(std::string_view filename, std::span<char> data) = 0;
virtual std::vector read(std::string_view filename) = 0;
virtual std::vector<char> read(std::string_view filename) = 0;
virtual void delete(std::string_view filename) = 0;
};
```