StackOverflow Questions for Tag: visitor-pattern

Caduchon
Caduchon

Reputation: 5231

Visit variant of nested classes : how to avoid redundant code?

Score: 0

Views: 115

Answers: 3

Read More
nik
nik

Reputation: 411

Is it mandatory for the visit methods to return void in the Visitor Pattern?

Score: 2

Views: 40

Answers: 1

Read More
Glenn Waldron
Glenn Waldron

Reputation: 165

Polymorphism with a dereferenced pointer yields unexpected results...why?

Score: 2

Views: 101

Answers: 1

Read More
Alex Dn
Alex Dn

Reputation: 5553

Visitor Design Pattern - return type

Score: 12

Views: 10705

Answers: 2

Read More
Mik378
Mik378

Reputation: 22191

Could visitor pattern contain some states?

Score: 4

Views: 2149

Answers: 3

Read More
Jay Iuliano
Jay Iuliano

Reputation: 21

Is it possible to call templated functions in templated derived classes from a pointer to base?

Score: 2

Views: 55

Answers: 1

Read More
Josh Burkart
Josh Burkart

Reputation: 472

Defining and blanket implementing a common trait to avoid dependencies in Rust

Score: 0

Views: 38

Answers: 1

Read More
Luis Angel Urena Lopez
Luis Angel Urena Lopez

Reputation: 389

Using Composite and Visitor pattern to render a OpenGL scenegraph

Score: 0

Views: 122

Answers: 0

Read More
dani
dani

Reputation: 3897

Would a template work for std::variant's visit?

Score: 6

Views: 2627

Answers: 2

Read More
Will Ayd
Will Ayd

Reputation: 7164

C++ Visitor Pattern with Variant Return Type and Accumulated State

Score: 1

Views: 106

Answers: 2

Read More
Derk
Derk

Reputation: 449

Attempting to Implement the Visitor Pattern in Go using Generics

Score: 1

Views: 1116

Answers: 1

Read More
Savindya A
Savindya A

Reputation: 181

Are Extension methods an example of Visitor Pattern?

Score: 3

Views: 497

Answers: 2

Read More
Eliott
Eliott

Reputation: 342

Visiting pairs of visitables with the Visitor pattern

Score: 1

Views: 140

Answers: 2

Read More
oddRaven
oddRaven

Reputation: 672

Python 3.5 type hinting gives "AttributeError: module 'iterator_function' has no attribute 'IteratorFunction'"

Score: 1

Views: 1344

Answers: 1

Read More
Gareg
Gareg

Reputation: 21

Combining Command and Visitor design patterns

Score: 0

Views: 112

Answers: 1

Read More
Petergtzz
Petergtzz

Reputation: 1

Handling out of reach environments when implementing an interpreter

Score: 0

Views: 68

Answers: 0

Read More
AFP_555
AFP_555

Reputation: 2608

Confused about the Visitor Design Pattern

Score: 45

Views: 10010

Answers: 6

Read More
JakeTuero
JakeTuero

Reputation: 101

How to visit on multiple variants with restricted to same type

Score: 1

Views: 279

Answers: 2

Read More
denomme
denomme

Reputation: 35

C++: Least painful way to write a Visitor to use in apply std::visit for a templated function?

Score: 0

Views: 93

Answers: 1

Read More
sdub0800
sdub0800

Reputation: 181

Visitor Pattern with Different Return Types for each Node Visited

Score: 3

Views: 533

Answers: 3

Read More
PreviousPage 1Next