Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
88032d8e
Commit
88032d8e
authored
Nov 17, 2010
by
vladlosev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds comment clarifying the use of default-constructed matchers.
parent
2321b2a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gmock-matchers.h
include/gmock/gmock-matchers.h
+3
-2
No files found.
include/gmock/gmock-matchers.h
View file @
88032d8e
...
@@ -250,8 +250,9 @@ class MatcherBase {
...
@@ -250,8 +250,9 @@ class MatcherBase {
template
<
typename
T
>
template
<
typename
T
>
class
Matcher
:
public
internal
::
MatcherBase
<
T
>
{
class
Matcher
:
public
internal
::
MatcherBase
<
T
>
{
public
:
public
:
// Constructs a null matcher. Needed for storing Matcher objects in
// Constructs a null matcher. Needed for storing Matcher objects in STL
// STL containers.
// containers. A default-constructed matcher is not yet initialized. You
// cannot use it until a valid value has been assigned to it.
Matcher
()
{}
Matcher
()
{}
// Constructs a matcher from its implementation.
// Constructs a matcher from its implementation.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment