xref: /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/filesystem (revision 0a3071956a3a9fdebdbf7f338cf2d439b45fc728)
114f5a3b0Smrg// <filesystem> -*- C++ -*-
214f5a3b0Smrg
3b1e83836Smrg// Copyright (C) 2014-2022 Free Software Foundation, Inc.
414f5a3b0Smrg//
514f5a3b0Smrg// This file is part of the GNU ISO C++ Library.  This library is free
614f5a3b0Smrg// software; you can redistribute it and/or modify it under the
714f5a3b0Smrg// terms of the GNU General Public License as published by the
814f5a3b0Smrg// Free Software Foundation; either version 3, or (at your option)
914f5a3b0Smrg// any later version.
1014f5a3b0Smrg
1114f5a3b0Smrg// This library is distributed in the hope that it will be useful,
1214f5a3b0Smrg// but WITHOUT ANY WARRANTY; without even the implied warranty of
1314f5a3b0Smrg// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1414f5a3b0Smrg// GNU General Public License for more details.
1514f5a3b0Smrg
1614f5a3b0Smrg// Under Section 7 of GPL version 3, you are granted additional
1714f5a3b0Smrg// permissions described in the GCC Runtime Library Exception, version
1814f5a3b0Smrg// 3.1, as published by the Free Software Foundation.
1914f5a3b0Smrg
2014f5a3b0Smrg// You should have received a copy of the GNU General Public License and
2114f5a3b0Smrg// a copy of the GCC Runtime Library Exception along with this program;
2214f5a3b0Smrg// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
2314f5a3b0Smrg// <http://www.gnu.org/licenses/>.
2414f5a3b0Smrg
25fb8a8121Smrg/** @file include/filesystem
2614f5a3b0Smrg *  This is a Standard C++ Library header.
27fb8a8121Smrg *  @ingroup filesystem
2814f5a3b0Smrg */
2914f5a3b0Smrg
3014f5a3b0Smrg#ifndef _GLIBCXX_FILESYSTEM
3114f5a3b0Smrg#define _GLIBCXX_FILESYSTEM 1
3214f5a3b0Smrg
3314f5a3b0Smrg#pragma GCC system_header
3414f5a3b0Smrg
3514f5a3b0Smrg#if __cplusplus >= 201703L
3614f5a3b0Smrg
37fb8a8121Smrg/**
38fb8a8121Smrg * @defgroup filesystem File System
39fb8a8121Smrg *
40fb8a8121Smrg * Utilities for performing operations on file systems and their components,
41fb8a8121Smrg * such as paths, regular files, and directories.
42*0a307195Smrg *
43*0a307195Smrg * @since C++17
44fb8a8121Smrg */
45fb8a8121Smrg
4614f5a3b0Smrg#include <bits/fs_fwd.h>
4714f5a3b0Smrg#include <bits/fs_path.h>
4814f5a3b0Smrg#include <bits/fs_dir.h>
4914f5a3b0Smrg#include <bits/fs_ops.h>
5014f5a3b0Smrg
51b1e83836Smrg#define __cpp_lib_filesystem 201703L
5214f5a3b0Smrg
5314f5a3b0Smrg#endif // C++17
5414f5a3b0Smrg
5514f5a3b0Smrg#endif // _GLIBCXX_FILESYSTEM
56