diff options
| author | Ted Gould <ted@gould.cx> | 2010-03-26 04:34:25 +0000 |
|---|---|---|
| committer | Ted Gould <ted@gould.cx> | 2010-03-26 04:34:25 +0000 |
| commit | 9e023a3aa964a0d3fa1e31e46d33657367ba68aa (patch) | |
| tree | 33f1392a340737e4eeefca6fd031f96c29befd2b /src/traits/reference.h | |
| parent | Installing the pkgconfig file (diff) | |
| parent | Adding in shape-record.h (diff) | |
| download | inkscape-9e023a3aa964a0d3fa1e31e46d33657367ba68aa.tar.gz inkscape-9e023a3aa964a0d3fa1e31e46d33657367ba68aa.zip | |
Merge from trunk
(bzr r8254.1.53)
Diffstat (limited to 'src/traits/reference.h')
| -rw-r--r-- | src/traits/reference.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/traits/reference.h b/src/traits/reference.h deleted file mode 100644 index 199ae8929..000000000 --- a/src/traits/reference.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Inkscape::Traits::Reference - traits class for dealing with reference types - * - * Authors: - * MenTaLguY <mental@rydia.net> - * - * Copyright (C) 2004 MenTaLguY - * - * Released under GNU GPL, read the file 'COPYING' for more information - */ - -#ifndef SEEN_INKSCAPE_TRAITS_REFERENCE_H -#define SEEN_INKSCAPE_TRAITS_REFERENCE_H - -namespace Inkscape { - -namespace Traits { - -template <typename T> -struct Reference { - typedef T const &RValue; - typedef T &LValue; - typedef T *Pointer; - typedef T const *ConstPointer; -}; - -template <typename T> -struct Reference<T &> { - typedef T &RValue; - typedef T &LValue; - typedef T *Pointer; - typedef T const *ConstPointer; -}; - -} - -} - -#endif -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
