Subscribe

higepon blog

2007-11-04

C++ のマクロで lower_case 的なものはないのかな

C++
#define HOGE(name) class name { int LOWER_CASE(name)##_; }

HOGE(Hige);
=>
class Hige { int hige_; };

みたいな。

higepon 2007-11-04 13:36

Bookmark this entry on Hatena::Bookmark
Tweet
Remove all ads
  • Read more
Write a comment
« 昼まで call/cc - Scheme VM を書く »
Profile
id:higepon id:higepon
Subscribed unsubscribe Subscribe Subscribe
About this blog
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • Machine Learning Design Patterns
  • MATHEMATICS FOR MACHINE LEARNING の読書記録
  • Indoor Location & Navigation コンペ振り返り
  • Visual Studio Code キーバインディング微調整
  • Riiid コンペ復習 - maskingなど
Archive

Start using Hatena Blog!

higepon is using Hatena Blog. Would you like to try it too?

Start using Hatena Blog (Free)
What is Hatena Blog?
higepon blog higepon blog

Powered by Hatena Blog | ブログを報告する

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe