東方算程譚

Oriental Code Talk ── επιστημηが与太をこく、弾幕とは無縁のシロモノ。

目次

Blog 利用状況

ニュース

著作とお薦めの品々は

著作とお薦めの品々は
東方熱帯林へ。

あわせて読みたい

わんくま

  1. 東京勉強会#2
    C++/CLI カクテル・レシピ
  2. 東京勉強会#3
    template vs. generics
  3. 大阪勉強会#6
    C++むかしばなし
  4. 東京勉強会#7
    C++むかしばなし
  5. 東京勉強会#8
    STL/CLRによるGeneric Programming
  6. TechEd 2007 @YOKOHAMA
    C++・C++/CLI・C# 適材適所
  7. 東京勉強会#14
    Making of BOF
  8. 東京勉強会#15
    状態遷移
  9. 名古屋勉強会#2
    WinUnit - お気楽お手軽UnitTest

CodeZine

  1. Cで実現する「ぷちオブジェクト指向」
  2. CUnitによるテスト駆動開発
  3. SQLiteで組み込みDB体験(2007年版)
  4. C++/CLIによるCライブラリの.NET化
  5. C# 1.1からC# 3.0まで~言語仕様の進化
  6. BoostでC++0xのライブラリ「TR1」を先取りしよう (1)
  7. BoostでC++0xのライブラリ「TR1」を先取りしよう (2)
  8. BoostでC++0xのライブラリ「TR1」を先取りしよう (3)
  9. BoostでC++0xのライブラリ「TR1」を先取りしよう (4)
  10. BoostでC++0xのライブラリ「TR1」を先取りしよう (5)
  11. C/C++に対応した、もうひとつのUnitTestFramework ─ WinUnit
  12. SQLiteで"おこづかいちょう"
  13. STL/CLRツアーガイド
  14. マージ・ソート : 巨大データのソート法
  15. ヒープソートのアルゴリズム
  16. C++0xの新機能「ラムダ式」を次期Visual Studioでいち早く試す
  17. .NETでマンデルブロ集合を描く
  18. .NETでマンデルブロ集合を描く(後日談)
  19. C++/CLI : とある文字列の相互変換(コンバージョン)
  20. インテルTBBによる選択ソートの高速化
  21. インテルTBB3.0 によるパイプライン処理
  22. Visual C++ 2010に追加されたSTLアルゴリズム
  23. Visual C++ 2010に追加されたSTLコンテナ「forward_list」
  24. shared_ptrによるObserverパターンの実装
  25. .NETでマンデルブロ集合を描く(番外編) ── OpenCLで超並列コンピューティング
  26. StateパターンでCSVを読む
  27. 状態遷移表からStateパターンを自動生成する
  28. 「ソートも、サーチも、あるんだよ」~標準C++ライブラリにみるアルゴリズムの面白さ
  29. インテルTBBの同期メカニズム
  30. なぜsetを使っちゃいけないの?
  31. WPFアプリケーションで腕試し ~C++でもWPFアプリを
  32. C++11 : スレッド・ライブラリひとめぐり
  33. Google製のC++ Unit Test Framework「Google Test」を使ってみる
  34. メールでデータベースを更新するココロミ
  35. Visitorパターンで遊んでみたよ
  36. Collection 2題:「WPFにバインドできる辞書」と「重複を許す検索set」
  37. Visual C++ 2012:stateless-lambdaとSQLiteのぷち拡張
  38. 「Visual C++ Compiler November 2012 CTP」で追加された6つの新機能

@IT

  1. Vista時代のVisual C++の流儀(前編)Vista到来。既存C/C++資産の.NET化を始めよう!
  2. Vista時代のVisual C++の流儀(中編)MFCから.NETへの実践的移行計画
  3. Vista時代のVisual C++の流儀(後編) STL/CLRによるDocument/Viewアーキテクチャ
  4. C++開発者のための単体テスト入門 第1回 C++開発者の皆さん。テスト、ちゃんとしていますか?
  5. C++開発者のための単体テスト入門 第2回 C++アプリケーションの効率的なテスト手法(CppUnit編)
  6. C++開発者のための単体テスト入門 第3回 C++アプリケーションの効率的なテスト手法(NUnit編)

AWARDS


Microsoft MVP
for Visual Developer - Visual C++


Wankuma MVP
for いぢわる C++


Nyantora MVP
for こくまろ中国茶

Xbox

Links

記事カテゴリ

書庫

日記カテゴリ

そーなのかー

interfaceを実装していながら公開しないってワザがありますな。

    public interface IFoo {
      void foo();
    }

    public class FooImpl : IFoo {
      void IFoo.foo() { }
    }

「明示的な実装」てやつ。
このとき FooImpl.foo() は private になるんだけども、
private void IFoo.foo() みたく privateで修飾するとエラーになるのね。

interface で event 定義しておきながら、実装ではそのeventがprotectedに
なってるのを見つけ、どうやってんだ? とコード覗いたら:

    public delegate void FooHandler();

    public interface IFoo {
      event FooHandler FooHappen;
    }

    public class FooImpl : IFoo {
      protected virtual event FooHandler FooHappen;
      event FooHandler IFoo.FooHappen {
        add    { this.FooHappen += value; }
        remove { this.FooHappen -= value; }
      }
    }

あ、なるほどねー

投稿日時 : 2009年5月3日 21:53

コメントを追加

# C#のインターフェースの明示的な実装のまとめ 2009/05/05 11:00 Smart Way! オータム マガジン

 そーなのかーを読んで、自分でも曖昧になっていた部分があるので、「C#のインターフェースの明示的な実装」について、自分用の簡単なまとめを書こうと思ったところ、予想以上の混迷を見つけてしまいました。イン

# buy nothing day essay b893nx 2022/09/04 14:06 Charlosmox

You mentioned that wonderfully. https://definitionessays.com/ freedom writers analysis essay

# term paper writing services k628wh 2023/02/10 11:14 Albertosed

You actually explained it adequately!
https://essaywritingservicelinked.com/ essay how to write

# buying essays x864po 2023/02/26 13:10 CharlesSnoff

You actually expressed this superbly!
custom essay for sale https://quality-essays.com/ order of arguments in an essay

# dissertation writing services usa j40gus 2023/02/27 3:42 Robertsaids


Factor very well applied!!
dissertation service writing https://dissertationwritingtops.com/ professional dissertation writing

# concept paper for dissertation b16ptz 2023/02/27 9:38 Robertsaids


Appreciate it, Loads of posts.
writing a dissertation proposal https://dissertationwritingtops.com/ uk dissertation help

# writing a thesis paper e91acv 2023/03/03 1:54 Josephbried


Thanks, Great stuff!
help with my thesis https://writingthesistops.com/ write the thesis statement for your essay

# product service design thesis y70ona 2023/03/03 7:15 Josephbried


Many thanks! I like this!
how will your thesis research service to help others https://writingthesistops.com/ ethos british library thesis service

# how to make a dissertation m25eqm 2023/03/06 6:45 EugeneSib


Terrific stuff, Appreciate it!
buy a dissertation https://dissertationwritingtops.com college essay helper https://studentessaywriting.com

# help 123 essay h186qj 2023/03/06 13:03 EugeneSib


Awesome stuff. Appreciate it.
write my homework for me https://service-essay.com help me write my personal statement https://quality-essays.com

# thesis phd c18ges 2023/03/06 16:06 Gregorysaipt


Regards! I like it.
umi dissertations https://service-essay.com supplemental college essays https://researchproposalforphd.com

# how to write perfect essay j79oty 2023/03/06 21:55 EugeneSib


Nicely put, Thanks.
essay title help https://essaywritingservicehelp.com how to motivate yourself to write an essay https://argumentativethesis.com

# doctoral dissertation writing service f136eb 2023/03/07 12:43 EugeneSib


Nicely put, Many thanks!
find a ghostwriter https://quality-essays.com best essay service https://quality-essays.com

# custom essay UK h72drj 2023/03/07 14:39 Gregorysaipt


Very good tips. Appreciate it.
writing helper https://writinganessaycollegeservice.com help write an essay online https://helpmedomyxyzhomework.com

# dissertation computer science u20itd 2023/03/07 19:13 EugeneSib

You actually explained it really well!
help writing college essays https://bestonlinepaperwritingservices.com coursework writing service https://bestpaperwritingservice.com

# free writing help online q21wnq 2023/03/08 12:57 Gregorysaipt


Nicely put, Regards!
cambridge essay service https://essaytyperhelp.com how to write summary essay https://essaywritingservicehelp.com

# defending thesis r151sb 2023/03/08 20:35 EugeneSib


Awesome facts. Many thanks!
writing services online https://essaywritingserviceahrefs.com dissertation english https://argumentativethesis.com

# how to begin a college essay y406uf 2023/03/09 3:37 EugeneSib


Kudos! Plenty of data.
best essay service https://researchpaperwriterservices.com copywriting services https://topswritingservices.com

# cheap custom writing l234wy 2023/03/09 10:58 Gregorysaipt

You actually stated it perfectly.
professional grad school essay writers https://englishessayhelp.com dissertation template https://payforanessaysonline.com

# princeton college essay o36xae 2023/03/09 18:41 EugeneSib


Nicely put. With thanks!
best college application essay ever https://essaytyperhelp.com do college essays need titles https://helpwritingdissertation.com

# how long should a college essay be c58jqa 2023/03/10 8:22 Gregorysaipt


Whoa all kinds of beneficial material.
buying essays online safe https://ouressays.com how to write a cause and effect essay https://studentessaywriting.com

# how to write opinion essay m96ieb 2023/03/10 9:13 EugeneSib


Amazing lots of useful information.
how to head a college application essay https://paperwritingservicecheap.com write essays for money online https://essaywriting4you.com

# dissertative e98kka 2023/03/10 10:27 Gregorysaipt


Amazing information. Cheers!
stephen king essay on writing https://cheapessaywriteronlineservices.com custom writings discount code https://service-essay.com

# how to improve essay writing m304tv 2023/03/10 23:44 EugeneSib


Nicely voiced really! !
people write research essays in order to https://bestonlinepaperwritingservices.com mba essay services https://cheapessaywriteronlineservices.com

# ways to write an essay r51vqo 2023/03/11 6:05 Gregorysaipt


Terrific info, With thanks.
writing dialogue in an essay https://researchpaperwriterservices.com music to write essays to https://essaywritinghelperonline.com

# college application personal essay b465ab 2023/03/11 8:12 Gregorysaipt


Great facts. Cheers!
professional dissertation writing services https://paperwritingservicecheap.com analysis essay help https://bestmasterthesiswritingservice.com

# writing paragraphs and essays i87thv 2023/03/11 8:39 EugeneSib


Wonderful data. Regards!
help with thesis writing https://topswritingservices.com essay writing for kids https://essaywriting4you.com

# custom essay company q72seo 2023/03/12 14:13 EugeneSib

You actually explained this really well.
how to cite a website in an essay mla https://paperwritingservicecheap.com dissertati https://buycheapessaysonline.com

# online dissertation k78iah 2023/03/12 20:17 EugeneSib


With thanks. Lots of write ups.
how to buy essays online https://argumentativethesis.com steps to writing a good essay https://writingthesistops.com

# how to write an effective essay i57tlm 2023/03/13 4:53 EugeneSib


Nicely put, Many thanks!
how to write a convincing essay https://essayservicehelp.com how to write a good english essay https://helpwritingdissertation.com

# how to write a thesis for a narrative essay c55era 2023/03/13 10:53 EugeneSib


Awesome material. Thanks.
literature review dissertation https://bestonlinepaperwritingservices.com dissertation to book https://helpmedomyxyzhomework.com

# great college admission essays n77kat 2023/03/13 19:29 EugeneSib


Terrific stuff. Thanks a lot.
dissertation uk https://researchpaperwriterservices.com best dissertation https://writingthesistops.com

# umi dissertations s564ux 2023/03/14 1:26 Gregorysaipt


You've made your position very effectively!!
write a essay about yourself https://cheapessaywriteronlineservices.com writing persuasive essay https://essaywritingserviceahrefs.com

# The plugins developed for WordPress 2023/05/09 20:35 Justas

The plugins developed for WordPress serve to enhance the features and functions of a WordPress website, allowing you to build your awesome and functional site https://t.me/wpigaming/648 Customise WordPress with powerful, professional and intuitive fields.

タイトル
名前
URL
コメント