JSFiddle - React, Tailwind, and code Playground
by Afzaal Ahmad Zeeshan
HTML
<pre>
std::vector<std::string> get_project_names();
template<typename Printable>
void print(Printable const & item);
template<typename FwdIterable, typename Predicate>
FwdIterable find_if(FwdIterable begin, FwdIterable end, Predicate pred);
</pre>
CSS
pre {
font-family: consolas;
font-size: 12px;
color: #000;
}
JavaScript
var string = "std::vector<std::string> get_project_names();" +
"template<typename Printable>"+
"void print(Printable const & item);"+
"template<typename FwdIterable, typename Predicate>" +
"FwdIterable find_if(FwdIterable begin, FwdIterable end, Predicate pred);".replace('<','<').replace('>','>');
alert(string);