FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpp.react/examples/src/Main.cpp at master · philipcraig/cpp.react · GitHub
philipcraig
/
cpp.react
Public
forked from
snakster/cpp.react
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
cpp.react
/
examples
/
src
/
Main.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (29 loc) · 768 Bytes
Breadcrumbs
cpp.react
/
examples
/
src
/
Main.cpp
Copy path
File metadata and controls
40 lines (29 loc) · 768 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
Copyright Sebastian Jeckel 2014.
//
Distributed under the Boost Software License, Version 1.0.
//
(See accompanying file LICENSE_1_0.txt or copy at
//
http://www.boost.org/LICENSE_1_0.txt)
//
#define REACT_ENABLE_LOGGING
#
include
"
react/Domain.h
"
#
include
"
react/Signal.h
"
#
include
"
react/Event.h
"
#
include
"
react/Algorithm.h
"
#
include
"
tbb/tick_count.h
"
#
include
<
chrono
>
using
namespace
std
;
using
namespace
react
;
void
testme
()
{
//
Note: This project exists as a sandbox where I occasionally stage new examples.
//
Currently it's empty.
}
int
main
()
{
testme
();
#
ifdef
REACT_ENABLE_LOGGING
std::ofstream logfile;
logfile.
open
(
"
log.txt
"
);
D::Log
().
Write
(logfile);
logfile.
close
();
#
endif
return
0
;
}
Back
|
FazBrowse Home
|
New Git URL