What does the tilde (~) in macros mean?

On the introduction page of Boost.Preprocessor, an example is given in A.4.1.1 Horizontal Repetition #define TINY_print(z, n, data) data #define TINY_size(z, n, unused) \ template <BOOST_PP_ENUM_PARAMS(n, class T)> \ struct tiny_size< \ BOOST_PP_ENUM_PARAMS(n,T) \ BOOST_PP_COMMA_IF(n) \ BOOST_PP_ENUM( \ BOOST_PP_SUB(TINY_MAX_SIZE,n), TINY_print, none) \ > \ : mpl::int_<n> {}; BOOST_PP_REPEAT(TINY_MAX_SIZE, TINY_size, ~) // Oh! a tilde! #undef … Read more

Tilde not recognized in Mac terminal

After changing the keyboard (System Preferences>Keyboard>Input Sources) from ‘US International – PC’ to ‘U.S.’, I was able to verify tilde sign (~) works as expected from Terminal. It looks like in some of the macbook, the keyboard is set to ‘US International – PC’ instead of ‘U.S.’

What does symbol tilde (~) mean in CSS [duplicate]

http://www.w3.org/TR/selectors/ 8.3.2. General sibling combinator The general sibling combinator is made of the “tilde” (U+007E, ~) character that separates two sequences of simple selectors. The elements represented by the two sequences share the same parent in the document tree and the element represented by the first sequence precedes (not necessarily immediately) the element represented by … Read more