Added reference to case insensitive implementation of unordered_multimap
This commit is contained in:
parent
3c4c378655
commit
357e57f70c
2 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ namespace SimpleWeb {
|
||||||
class Response {
|
class Response {
|
||||||
friend class ClientBase<socket_type>;
|
friend class ClientBase<socket_type>;
|
||||||
|
|
||||||
|
//Based on http://www.boost.org/doc/libs/1_60_0/doc/html/unordered/hash_equality.html
|
||||||
class iequal_to {
|
class iequal_to {
|
||||||
public:
|
public:
|
||||||
bool operator()(const std::string &key1, const std::string &key2) const {
|
bool operator()(const std::string &key1, const std::string &key2) const {
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,7 @@ namespace SimpleWeb {
|
||||||
class Request {
|
class Request {
|
||||||
friend class ServerBase<socket_type>;
|
friend class ServerBase<socket_type>;
|
||||||
|
|
||||||
|
//Based on http://www.boost.org/doc/libs/1_60_0/doc/html/unordered/hash_equality.html
|
||||||
class iequal_to {
|
class iequal_to {
|
||||||
public:
|
public:
|
||||||
bool operator()(const std::string &key1, const std::string &key2) const {
|
bool operator()(const std::string &key1, const std::string &key2) const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue