-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make use of C++11 ability to use "namespace A::B"
* ridlbe/c++11/templates/cli/hdr/ami/interface_amic_object_traits.erb: * ridlbe/c++11/templates/cli/hdr/valuebox_traits_def.erb: * ridlbe/c++11/writers/amistubheader.rb: * ridlbe/c++11/writers/amistubsource.rb: * ridlbe/c++11/writers/servantheader.rb: * ridlbe/c++11/writers/stubheader.rb: * ridlbe/c++11/writers/stubsource.rb:
- Loading branch information
1 parent
91f52a0
commit 61906b1
Showing
7 changed files
with
61 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
|
||
// generated from <%= ridl_template_path %> | ||
namespace TAOX11_NAMESPACE | ||
namespace TAOX11_NAMESPACE::CORBA | ||
{ | ||
namespace CORBA | ||
inline valuetype_traits<<%= scoped_cxxtype %>>::ref_type | ||
valuetype_traits<<%= scoped_cxxtype %>>::narrow (valuetype_reference<ValueBase> vbref) | ||
{ | ||
inline valuetype_traits<<%= scoped_cxxtype %>>::ref_type | ||
valuetype_traits<<%= scoped_cxxtype %>>::narrow ( | ||
valuetype_reference<ValueBase> vbref) | ||
{ | ||
return ref_type::_narrow (vbref); | ||
} | ||
} // namespace CORBA | ||
} // namespace TAOX11_NAMESPACE | ||
return ref_type::_narrow (vbref); | ||
} | ||
} // namespace TAOX11_NAMESPACE::CORBA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters