diff --git a/content/posts/2022-06-07-multiple-dispatch-in-c++/index.md b/content/posts/2022-06-07-multiple-dispatch-in-c++/index.md index c012b08..902149a 100644 --- a/content/posts/2022-06-07-multiple-dispatch-in-c++/index.md +++ b/content/posts/2022-06-07-multiple-dispatch-in-c++/index.md @@ -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 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 the beginning of this article. In cases where a computation depends on the