Crow  1.1
A C++ microframework for the web
crow::mustache::template_t Class Reference

Compiled mustache template object. More...

#include <mustache.h>

Public Member Functions

 template_t (std::string body)
 
rendered_template render () const
 Output a returnable template from this mustache template.
 
rendered_template render (const context &ctx) const
 Apply the values from the context provided and output a returnable template from this mustache template.
 
rendered_template render (const context &&ctx) const
 Apply the values from the context provided and output a returnable template from this mustache template.
 
std::string render_string () const
 Output a returnable template from this mustache template.
 
std::string render_string (const context &ctx) const
 Apply the values from the context provided and output a returnable template from this mustache template.
 

Detailed Description

Compiled mustache template object.

Warning
Use compile instead.

The documentation for this class was generated from the following file: