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

This commit is contained in:
Bruno BELANYI 2022-11-02 15:52:38 +01:00
parent ab2fd4bb69
commit cb9545769d

View file

@ -105,7 +105,7 @@ You can then write `PosixFilesystem` which makes use of the POSIX API and
interact with actual on-disk data, `MockFilesystem` which only works in-memory interact with actual on-disk data, `MockFilesystem` which only works in-memory
and can be used for testing, etc... and can be used for testing, etc...
## Double dispatch ## Double dispatch through the Visitor pattern
Sometimes single dispatch is not enough, such as in the collision example at Sometimes single dispatch is not enough, such as in the collision example at
the beginning of this article. In cases where a computation depends on the the beginning of this article. In cases where a computation depends on the