FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
co-cpp19/src/array19.lib/array19/AllocatedArrayOf.ostream.h at develop · basicpp/co-cpp19 · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
basicpp
/
co-cpp19
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
14
Code
Issues
1
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
co-cpp19
/
src
/
array19.lib
/
array19
/
AllocatedArrayOf.ostream.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
22 lines (18 loc) · 474 Bytes
Breadcrumbs
co-cpp19
/
src
/
array19.lib
/
array19
/
AllocatedArrayOf.ostream.h
Copy path
File metadata and controls
22 lines (18 loc) · 474 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
22
#
pragma
once
#
include
"
AllocatedArrayOf.h
"
#
include
<
ostream
>
namespace
array19
{
template
<
class
Chr
,
class
Traits
,
class
T
>
auto
operator
<<(std::basic_ostream<Chr, Traits>& out,
const
AllocatedArrayOf<T>& a) ->
decltype
(out)& {
out <<
"
[
"
;
bool
first =
true
;
for
(
auto
& v : a) {
if
(first)
first =
false
;
else
out <<
"
,
"
;
out << v;
}
return
out <<
"
]
"
;
}
}
//
namespace array19
Back
|
FazBrowse Home
|
New Git URL