代码搜索:MetaProgramming

找到约 104 项符合「MetaProgramming」的源代码

代码结果 104
www.eeworm.com/read/331534/3409929

h metaprogramming.h

// // TypeChecks.h // // $Id: //poco/1.3/Foundation/include/Poco/MetaProgramming.h#1 $ // // Library: Foundation // Package: Core // Module: MetaProgramming // // Common definitions useful f
www.eeworm.com/read/331534/3409886

svn-base metaprogramming.h.svn-base

// // TypeChecks.h // // $Id: //poco/1.3/Foundation/include/Poco/MetaProgramming.h#1 $ // // Library: Foundation // Package: Core // Module: MetaProgramming // // Common definitions useful f
www.eeworm.com/read/275831/10794414

rb 10 - metaprogramming with string evaluations.rb

class Numeric [['add', '+'], ['subtract', '-'], ['multiply', '*',], ['divide', '/']].each do |method, operator| define_method("#{method}_2") do method(operator).call(2) end end end
www.eeworm.com/read/168845/5434175

rst macros.rst

Being a *template* metaprogramming framework, the MPL concentrates on getting one thing done well and leaves most of the clearly preprocessor-related tasks to the corresponding specialized lib
www.eeworm.com/read/275831/10794407

rb 09 - avoiding boilerplate code with metaprogramming.rb

class Fetcher def fetch(how_many) puts "Fetching #{how_many ? how_many : "all"}." end def fetch_one fetch(1) end def fetch_ten fetch(10) end def fetch_all fetch(nil)
www.eeworm.com/read/136820/5852109

cpp fact.cpp

/////////////////////////////////////////////////////////////////////////////// // // Fact.cpp // // Demonstrates template metaprogramming for Factorials // // Copyright
www.eeworm.com/read/136820/5852123

cpp trig.cpp

/////////////////////////////////////////////////////////////////////////////// // // Trig.cpp // // Demonstrates template metaprogramming for trigonometry // // Copyright
www.eeworm.com/read/108009/6187276

cpp fact.cpp

/////////////////////////////////////////////////////////////////////////////// // // Fact.cpp // // Demonstrates template metaprogramming for Factorials // // Copyright
www.eeworm.com/read/108009/6187290

cpp trig.cpp

/////////////////////////////////////////////////////////////////////////////// // // Trig.cpp // // Demonstrates template metaprogramming for trigonometry // // Copyright