Function operator[]

Synopsis

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

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

Description

Get the 'any' object identified by the given key.

Source

Lines 61-64 in lib/inc/drogon/Attribute.h.

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





Add Discussion as Guest

Log in