Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: compiled/Map.h

Issue 29613616: Issue 6064 - Put C++ code into a configurable namespace (Closed) Base URL: https://github.com/adblockplus/adblockpluscore.git
Left Patch Set: address comments Created Nov. 22, 2017, 9:36 a.m.
Right Patch Set: rebase Created Feb. 6, 2018, 9:54 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « compiled/IntMap.h ('k') | compiled/String.h » ('j') | compiled/StringMap.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-present eyeo GmbH 3 * Copyright (C) 2006-present eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 #pragma once 18 #pragma once
19 19
20 #include <cmath> 20 #include <cmath>
21 #include <initializer_list> 21 #include <initializer_list>
22 #include <memory> 22 #include <memory>
23 23
24 #include "base.h"
24 #include "debug.h" 25 #include "debug.h"
25 #include "String.h" 26 #include "String.h"
27
28 ABP_NS_BEGIN
26 29
27 template<typename Entry> 30 template<typename Entry>
28 class Map; 31 class Map;
29 32
30 namespace Map_internal 33 namespace Map_internal
31 { 34 {
32 template<typename Entry> 35 template<typename Entry>
33 struct HashContainerIterator 36 struct HashContainerIterator
34 { 37 {
35 typedef Entry entry_type; 38 typedef Entry entry_type;
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 const_reference find(key_type_cref key) const 333 const_reference find(key_type_cref key) const
331 { 334 {
332 return super::find(key); 335 return super::find(key);
333 } 336 }
334 337
335 reference find(key_type_cref key) 338 reference find(key_type_cref key)
336 { 339 {
337 return reference(this, key, super::find_bucket(key)); 340 return reference(this, key, super::find_bucket(key));
338 } 341 }
339 }; 342 };
343
344 ABP_NS_END
LEFTRIGHT

Powered by Google App Engine
This is Rietveld