[LLVMdev] Software engineering technique behind the GraphTraits implementation?
Paul Vario
paul.paul.mit at gmail.com
Fri Apr 18 12:40:24 PDT 2014
Hi Fellows,
What is the design pattern behind GraphTraits? Any C++ reference
explaining this pattern? From the look of the code, it passes me as a very
complicated design. For example, how does the partial specialization makes
the inverse of an inverse falls back to the original graph:
template<class T>
struct GraphTraits<Inverse<Inverse<T> > > {
...
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140418/cb4042ab/attachment.html>
More information about the llvm-dev
mailing list