fixup! WIP: posts: add mutiple-dispatch-in-c++
This commit is contained in:
parent
1f65d803a7
commit
80ef143ef2
|
@ -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;
|
||||
};
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue