stdgpu/type_traits.h Source File — stdgpu Latest documentation (original) (raw)

stdgpu/type_traits.h Source File#

stdgpu: stdgpu/type_traits.h Source File

stdgpu Latest

Efficient STL-like Data Structures on the GPU

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16#ifndef STDGPU_TYPE_TRAITS_H

17#define STDGPU_TYPE_TRAITS_H

18

28#include <type_traits>

29

30namespace stdgpu

31{

32

38template

40{

41 using type = std::remove_cv_t<std::remove_reference_t>;

42};

43

45template

48

49}

50

51#include <stdgpu/impl/type_traits_detail.h>

52

53#endif

std::remove_cv_t< std::remove_reference_t< T > > type

Definition: type_traits.h:41

Type trait to remove const, volative, and reference qualifiers from the given type.

Definition: type_traits.h:40