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

Last change on this file since 4272 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
RevLine 
[3850]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{
[4182]11
[3850]12}
13
[4182]14Alt::Alt(iterator begin, iterator end)
15: std::vector<RE*>(begin, end)
[3850]16{
17
[3914]18}
19
[3850]20Alt::~Alt()
21{
[4182]22    for (RE * re : *this) {
23        delete re;
24    }
[3850]25}
Note: See TracBrowser for help on using the repository browser.