File tree Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Expand file tree Collapse file tree 1 file changed +0
-47
lines changed Original file line number Diff line number Diff line change 1010
1111class Graph {
1212 public:
13- // constructors
14- // default constructor
15- Graph ()
16- {
17- cout << " Graph default constructor" << endl;
18- };
19-
20- // copy
21- Graph (const Graph & rhs)
22- {
23- std::cout << " Graph copy constructor" << std::endl;
24- _GraphVector = rhs._GraphVector ;
25- };
26- // copy operator
27- Graph & operator = (const Graph & rhs)
28- {
29- std::cout << " Graph copy operator" << std::endl;
30- if (this != &rhs)
31- {
32- _GraphVector = rhs._GraphVector ;
33- }
34- return *this ;
35- };
36-
37- // move
38- Graph (const Graph && rhs) noexcept
39- {
40- std::cout << " Graph move constructor" << std::endl;
41- _GraphVector = std::move (rhs._GraphVector );
42- };
43- // move operator
44- Graph & operator = (const Graph && rhs) noexcept
45- {
46- std::cout << " Graph move operator" << std::endl;
47- if (this != &rhs)
48- {
49- _GraphVector = std::move (rhs._GraphVector );
50- }
51- return *this ;
52- };
53-
54- // destructor
55- ~Graph ()
56- {
57- std::cout << " Graph destructor" << std::endl;
58- };
59-
6013 // build new bifrost graph and index
6114 GraphTuple build (const std::string& infile1,
6215 const int kmer,
You can’t perform that action at this time.
0 commit comments