Code to Design Pattern

Hi, I'm studying C++ programming and I was wondering if anyone has any tips on how to figure out what design pattern C++ code is following just by reading the code. Any suggestions? Thank you.
More often than not, the names of entities involved (classes, template/function parameters) are giveaways.

class UnixBuilder: public Builder { ... https://sourcemaking.com/design_patterns/builder/cpp/1

public class ImageProxy implements Image { ... http://www.oodesign.com/proxy-pattern.html

template <class Visitor, class... Variants>
constexpr /*see below*/ visit(Visitor&& vis, Variants&&... vars);

http://en.cppreference.com/w/cpp/utility/variant/visit
Topic archived. No new replies allowed.