Menu

#377 t_min/t_max関数のinline化

None
closed
nobody
None
5
2013-04-05
2013-03-30
novice123
No

・t_min/t_max関数をinline化しました。
・std::min->t_min、std::max->t_maxにそろえました。
・プリプロセッサの定義"NOMINMAX"を削除しました。

機能的な変更ありません。

1 Attachments

Discussion

  • novice123

    novice123 - 2013-04-01

    rev2758でコミットしました。

     
  • novice123

    novice123 - 2013-04-01
    • status: open --> closed
     
  • novice123

    novice123 - 2013-04-05

    NOMINMAXのマクロを無効にすると、
    std::numeric_limits<int>::max()
    の箇所でエラーになります。</int>

    (std::numeric_limits<int>::max)()
    のように括弧で囲えばエラーはなくなりますが、
    今回はNOMINMAXのマクロを残します。</int>

    rev2792でコミットしました。

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.