Function operator[]

Synopsis

#include <lib/inc/drogon/HttpViewData.h>

any & operator[](const std::string &key) const

Description

Get the 'any' object by the key parameter.

Source

Lines 127-130 in lib/inc/drogon/HttpViewData.h.

any &operator[](const std::string &key) const
{
    return viewData_[key];
}





Add Discussion as Guest

Log in to DocsForge