In dynamically typed languages like JavaScript or PHP, I often do functions such as:
function getSomething(name) { if (content_[name]) return content_[na
I can think of a few ways to handle this:
boost::optional