proxygen
b.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2018-present Facebook, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
17 
19 
20 namespace b_ns {
21 
23  follytest,
24  public_flag_to_b,
26  "basdf",
27  "Public flag to b");
28 
29 namespace {
31  follytest,
32  internal_flag_to_b,
34  "test",
35  "Desc of str");
36 }
37 
39  return *FOLLY_SETTING(follytest, internal_flag_to_b) +
40  *FOLLY_SETTING(follytest, public_flag_to_b);
41 }
42 
43 } // namespace b_ns
FOLLY_SETTING_DEFINE(follytest, public_flag_to_b, std::string,"basdf","Public flag to b")
std::string b_func()
Definition: b.cpp:38
Definition: b.cpp:20
#define FOLLY_SETTING(_project, _name)
Definition: Settings.h:192
const char * string
Definition: Conv.cpp:212