Changeset 828 in dev for trunk/ab5.0/abdev/ab_common/include/Lexical/Procedure.h
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/ab_common/include/Lexical/Procedure.h
r750 r828 56 56 { 57 57 } 58 59 Procedure(Procedure const& y) 60 : RelationalObjectModuleItem(y) 61 , kind(y.kind) 62 , isCdecl(y.isCdecl) 63 , isUsing(y.isUsing) 64 , params(y.params) 65 , returnType(y.returnType) 66 , sourceCodePosition(y.sourceCodePosition) 67 { 68 } 69 70 Procedure(Procedure&& y) 71 : RelationalObjectModuleItem(std::move(y)) 72 , kind(std::move(y.kind)) 73 , isCdecl(std::move(y.isCdecl)) 74 , isUsing(std::move(y.isUsing)) 75 , params(std::move(y.params)) 76 , returnType(std::move(y.returnType)) 77 , sourceCodePosition(std::move(y.sourceCodePosition)) 78 { 79 } 80 81 Procedure& operator =(Procedure&& y) 82 { 83 RelationalObjectModuleItem::operator =(std::move(y)); 84 kind = std::move(y.kind); 85 isCdecl = std::move(y.isCdecl); 86 isUsing = std::move(y.isUsing); 87 params = std::move(y.params); 88 returnType = std::move(y.returnType); 89 sourceCodePosition = std::move(y.sourceCodePosition); 90 return *this; 91 } 92 93 Procedure& operator =(Procedure const& y) 94 { 95 return *this = std::move(Procedure(y)); 96 } 97 58 98 ~Procedure(){ 59 99 foreach( Parameter *pParam, params ){ … … 393 433 394 434 static const UserProc *pGlobalProc; 435 436 private: 437 UserProc(UserProc const&); 438 UserProc& operator =(UserProc const&); 395 439 }; 396 440 … … 418 462 419 463 void EnumGlobalProcs( const char *simpleName, const Symbol &localSymbol, std::vector<const UserProc *> &subs ); 464 465 private: 466 UserProcs(UserProcs const&); 467 UserProcs& operator =(UserProcs const&); 420 468 }; 421 469 … … 499 547 500 548 virtual bool Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors ); 549 550 private: 551 DllProc(DllProc const&); 552 DllProc& operator =(DllProc const&); 501 553 }; 502 554 class DllProcs : public Jenga::Common::Hashmap<DllProc> 503 555 { 556 public: 557 DllProcs() {} 558 504 559 // XMLシリアライズ用 505 560 private: … … 512 567 boost::serialization::base_object<Jenga::Common::Hashmap<DllProc>>(*this)); 513 568 } 569 570 DllProcs(DllProcs const&); 571 DllProcs& operator =(DllProcs const&); 514 572 }; 515 573 … … 540 598 541 599 virtual bool Resolve( const ObjectModule &resolver, ResolveErrors &resolveErrors ); 600 601 ProcPointer(ProcPointer const&); 602 ProcPointer& operator =(ProcPointer const&); 542 603 }; 543 604 … … 569 630 clear(); 570 631 } 632 633 ProcPointers(ProcPointers const&); 634 ProcPointers& operator =(ProcPointers const&); 571 635 };
Note:
See TracChangeset
for help on using the changeset viewer.