xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/filesystem (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1cef8759bSmrg// <filesystem> -*- C++ -*-
2cef8759bSmrg
3*4c3eb207Smrg// Copyright (C) 2014-2020 Free Software Foundation, Inc.
4cef8759bSmrg//
5cef8759bSmrg// This file is part of the GNU ISO C++ Library.  This library is free
6cef8759bSmrg// software; you can redistribute it and/or modify it under the
7cef8759bSmrg// terms of the GNU General Public License as published by the
8cef8759bSmrg// Free Software Foundation; either version 3, or (at your option)
9cef8759bSmrg// any later version.
10cef8759bSmrg
11cef8759bSmrg// This library is distributed in the hope that it will be useful,
12cef8759bSmrg// but WITHOUT ANY WARRANTY; without even the implied warranty of
13cef8759bSmrg// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14cef8759bSmrg// GNU General Public License for more details.
15cef8759bSmrg
16cef8759bSmrg// Under Section 7 of GPL version 3, you are granted additional
17cef8759bSmrg// permissions described in the GCC Runtime Library Exception, version
18cef8759bSmrg// 3.1, as published by the Free Software Foundation.
19cef8759bSmrg
20cef8759bSmrg// You should have received a copy of the GNU General Public License and
21cef8759bSmrg// a copy of the GCC Runtime Library Exception along with this program;
22cef8759bSmrg// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
23cef8759bSmrg// <http://www.gnu.org/licenses/>.
24cef8759bSmrg
25*4c3eb207Smrg/** @file include/filesystem
26cef8759bSmrg *  This is a Standard C++ Library header.
27*4c3eb207Smrg *  @ingroup filesystem
28cef8759bSmrg */
29cef8759bSmrg
30cef8759bSmrg#ifndef _GLIBCXX_FILESYSTEM
31cef8759bSmrg#define _GLIBCXX_FILESYSTEM 1
32cef8759bSmrg
33cef8759bSmrg#pragma GCC system_header
34cef8759bSmrg
35cef8759bSmrg#if __cplusplus >= 201703L
36cef8759bSmrg
37*4c3eb207Smrg/**
38*4c3eb207Smrg * @defgroup filesystem File System
39*4c3eb207Smrg *
40*4c3eb207Smrg * Utilities for performing operations on file systems and their components,
41*4c3eb207Smrg * such as paths, regular files, and directories.
42*4c3eb207Smrg */
43*4c3eb207Smrg
44cef8759bSmrg#include <bits/fs_fwd.h>
45cef8759bSmrg#include <bits/fs_path.h>
46cef8759bSmrg#include <bits/fs_dir.h>
47cef8759bSmrg#include <bits/fs_ops.h>
48cef8759bSmrg
49cef8759bSmrg#define __cpp_lib_filesystem 201703
50cef8759bSmrg
51cef8759bSmrg#endif // C++17
52cef8759bSmrg
53cef8759bSmrg#endif // _GLIBCXX_FILESYSTEM
54