Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
bdd2be33
Commit
bdd2be33
authored
Jul 31, 2003
by
Alexandre Duret-Lutz
Browse files
* src/misc/const_sel.hh: Delete.
* src/misc/Makefile.am (misc_HEADERS): Remove const_sel.hh.
parent
baa7a6f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
bdd2be33
2003-07-31 Alexandre Duret-Lutz <adl@gnu.org>
* src/misc/const_sel.hh: Delete.
* src/misc/Makefile.am (misc_HEADERS): Remove const_sel.hh.
* src/tgbaalgos/magic.cc, src/tgbaalgos/reachiter.cc: Include cassert.
* iface/Makefile.am (SUBDIRS): Recurse in gspn only if condition
WITH_GSPN.
...
...
src/misc/Makefile.am
View file @
bdd2be33
...
...
@@ -5,8 +5,7 @@ miscdir = $(pkgincludedir)/misc
misc_HEADERS
=
\
bddalloc.hh
\
bddlt.hh
\
const_sel.hh
bddlt.hh
noinst_LTLIBRARIES
=
libmisc.la
libmisc_la_SOURCES
=
\
...
...
src/misc/const_sel.hh
deleted
100644 → 0
View file @
baa7a6f2
#ifndef SPOT_MISC_CONSTSEL_HH
# define SPOT_MISC_CONSTSEL_HH
namespace
spot
{
// Be default, define the type as-is.
template
<
class
T
,
bool
WantConst
>
struct
const_sel
{
typedef
T
t
;
};
// If const is wanted, add it.
template
<
class
T
>
struct
const_sel
<
T
,
true
>
{
typedef
const
T
t
;
};
// If const is present but isn't wanted, remove it.
template
<
class
T
>
struct
const_sel
<
const
T
,
false
>
{
typedef
const
T
t
;
};
}
#endif // SPOT_MISC_CONSTSEL_HH
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment