Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

error: ‘_Atomic’ does not name a type

#ifndef __cplusplus
# include <stdatomic.h>
#else
# include <atomic>
# define _Atomic(X) std::atomic< X >
#endif

int foo(_Atomic(unsigned)* toto);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #type
ADD COMMENT
Topic
Name
9+4 =