std_cstddef.h revision 169691
1234353Sdim// -*- C++ -*- forwarding header.
2198090Srdivacky
3198090Srdivacky// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4198090Srdivacky// Free Software Foundation, Inc.
5198090Srdivacky//
6198090Srdivacky// This file is part of the GNU ISO C++ Library.  This library is free
7198090Srdivacky// software; you can redistribute it and/or modify it under the
8198090Srdivacky// terms of the GNU General Public License as published by the
9198090Srdivacky// Free Software Foundation; either version 2, or (at your option)
10198090Srdivacky// any later version.
11198090Srdivacky
12198090Srdivacky// This library is distributed in the hope that it will be useful,
13198090Srdivacky// but WITHOUT ANY WARRANTY; without even the implied warranty of
14234353Sdim// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15198090Srdivacky// GNU General Public License for more details.
16198090Srdivacky
17218893Sdim// You should have received a copy of the GNU General Public License along
18198090Srdivacky// with this library; see the file COPYING.  If not, write to the Free
19198090Srdivacky// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20226633Sdim// USA.
21249423Sdim
22249423Sdim// As a special exception, you may use this file as part of a free software
23198090Srdivacky// library without restriction.  Specifically, if other files instantiate
24198090Srdivacky// templates or use macros or inline functions from this file, or you compile
25198090Srdivacky// this file and link it with other files to produce an executable, this
26198090Srdivacky// file does not by itself cause the resulting executable to be covered by
27198090Srdivacky// the GNU General Public License.  This exception does not however
28198090Srdivacky// invalidate any other reasons why the executable file might be covered by
29249423Sdim// the GNU General Public License.
30249423Sdim
31249423Sdim/** @file cstddef
32249423Sdim *  This is a Standard C++ Library file.  You should @c #include this file
33249423Sdim *  in your programs, rather than any of the "*.h" implementation files.
34198892Srdivacky *
35198090Srdivacky *  This is the C++ version of the Standard C Library header @c stddef.h,
36198090Srdivacky *  and its contents are (mostly) the same as that header, but are all
37218893Sdim *  contained in the namespace @c std (except for names which are defined
38198090Srdivacky *  as macros in C).
39198090Srdivacky */
40198090Srdivacky
41224145Sdim//
42224145Sdim// ISO C++ 14882: 18.1  Types
43224145Sdim//
44218893Sdim
45218893Sdim#ifndef _GLIBCXX_CSTDDEF
46263508Sdim#define _GLIBCXX_CSTDDEF 1
47263508Sdim
48212904Sdim#pragma GCC system_header
49212904Sdim
50198090Srdivacky#include <bits/c++config.h>
51198090Srdivacky#include <stddef.h>
52234353Sdim
53198090Srdivacky_GLIBCXX_BEGIN_NAMESPACE(std)
54263508Sdim
55263508Sdim  using ::ptrdiff_t;
56263508Sdim  using ::size_t;
57263508Sdim
58263508Sdim_GLIBCXX_END_NAMESPACE
59263508Sdim
60263508Sdim#endif
61263508Sdim