macro_rules! chmin {
( $a:expr, $b:expr $(,)* ) => { ... };
( $a:expr, $b:expr, $c:expr $(,$other:expr)* $(,)* ) => { ... };
}Expand description
chmin!(x1, x2, ..., xn):x1,x2,…,xnのうち最小のものを、x1に代入する
- 代入があったとき、
trueを返す
macro_rules! chmin {
( $a:expr, $b:expr $(,)* ) => { ... };
( $a:expr, $b:expr, $c:expr $(,$other:expr)* $(,)* ) => { ... };
}chmin!(x1, x2, ..., xn):x1,x2,…,xnのうち最小のものを、x1に代入する
trueを返す