FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
bazel-java/examples/cpp/hello-lib.h at master · codemod/bazel-java · GitHub
codemod
bazel-java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
bazel-java
/
examples
/
cpp
/
hello-lib.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (14 loc) · 365 Bytes
Breadcrumbs
bazel-java
/
examples
/
cpp
/
hello-lib.h
Copy path
File metadata and controls
21 lines (14 loc) · 365 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
ifndef
EXAMPLES_CPP_HELLO_LIB_H_
#
define
EXAMPLES_CPP_HELLO_LIB_H_
#
include
<
string
>
#
include
<
memory
>
namespace
hello
{
class
HelloLib
{
public:
explicit
HelloLib
(
const
std::string &greeting);
void
greet
(
const
std::string &thing);
private:
std::unique_ptr<
const
std::string> greeting_;
};
}
//
namespace hello
#
endif
//
EXAMPLES_CPP_HELLO_LIB_H_
Back
|
FazBrowse Home
|
New Git URL