Skip to content

Commit 486a295

Browse files
Merge pull request #264 from chillenzer/bump-C++20
Bump C++ version to 20
2 parents 0b9231a + 602e95d commit 486a295

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# General options
33
Language: Cpp
4-
Standard: c++17
4+
Standard: c++20
55
DisableFormat: false
66

77
AccessModifierOffset: -4

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(mallocMC LANGUAGES CXX)
22
cmake_minimum_required(VERSION 3.18)
33

4-
set(CMAKE_CXX_STANDARD 17)
4+
set(CMAKE_CXX_STANDARD 20)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)
66

77
if(POLICY CMP0074)

INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Install
22
-------
33
### Dependencies
4-
- C++14 compiler (clang, gcc, hipcc, icc, nvcc)
4+
- C++20 compiler (clang, gcc, hipcc, icc, nvcc)
55
- *Debian/Ubuntu:* `sudo apt-get install gcc build-essential`
66
- *Arch Linux:* `sudo pacman -S base-devel`
77
- `alpaka` 1.2.0

0 commit comments

Comments
 (0)