Macro cp_library_rs::chmax

source ·
macro_rules! chmax {
    ( $a:expr, $b:expr $(,)* ) => { ... };
    ( $a:expr, $b:expr, $c:expr $(,$other:expr)* $(,)* ) => { ... };
}
Expand description

chmax!(x1, x2, ..., xn):x1,x2,…,xnのうち最大のものを、x1に代入する

  • 代入があったとき、trueを返す