Click here to Skip to main content
15,891,529 members
Articles / Programming Languages / C++

Visitor with the Return Value

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
14 Oct 2015CPOL3 min read 16.4K   78   5  
This technique allows the Visitor (i.e., an instance of Visitor design pattern) to return value of arbitrary type.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) FEI
Czech Republic Czech Republic
Does some technical leading in a technology company. Also, likes beer.

Comments and Discussions