[#llvm-FoldingSetNodeWrapper] = xref:llvm.adoc[llvm]::FoldingSetNodeWrapper :relfileprefix: ../ :mrdocs: This template class is used to "wrap" arbitrary types in an enclosing object so that they can be inserted into FoldingSets. == Synopsis Declared in `<llvm/ADT/FoldingSet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> class FoldingSetNodeWrapper : public xref:llvm/FoldingSetNode.adoc[FoldingSetNode] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/FoldingSetNode.adoc[FoldingSetNode]` | Convenience alias for the base node type stored in a folding set. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/FoldingSetNodeWrapper/2constructor.adoc[`FoldingSetNodeWrapper`] [.small]#[constructor]# | Construct a wrapper around a `T` built from `Args.` | xref:llvm/FoldingSetNodeWrapper/Profile.adoc[`Profile`] | Add the wrapped value's profile bits to `ID.` | xref:llvm/FoldingSetNodeWrapper/getValue-09.adoc[`getValue`] | Return a mutable reference to the wrapped value. | xref:llvm/FoldingSetNodeWrapper/getValue-04.adoc[`getValue`] | Return a const reference to the wrapped value. | xref:llvm/FoldingSetNodeWrapper/2conversion-08.adoc[`operator T&`] | Implicit conversion to the wrapped value. | xref:llvm/FoldingSetNodeWrapper/2conversion-00.adoc[`operator T const&`] | Implicit conversion to the wrapped const value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#