source: icGREP/icgrep-devel/QA/re @ 5055

Last change on this file since 5055 was 4187, checked in by nmedfort, 5 years ago

Some refactoring of the RE CC class and CC Compiler; Moved RE into re subdirectory.

File size: 376 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#include "re_alt.h"
8
9Alt::Alt()
10{
11
12}
13
14Alt::Alt(iterator begin, iterator end)
15: std::vector<RE*>(begin, end)
16{
17
18}
19
20Alt::~Alt()
21{
22    for (RE * re : *this) {
23        delete re;
24    }
25}
Note: See TracBrowser for help on using the repository browser.