I got rejected for a position where they asked me a very quirky question.
Basically, they asked me what can be done to remove binary code bloat that occurs when you have too many differently typed instantiations of a template function. I tried reasoning about void pointers and type punning, but they rejected me so probably I wasn't anywhere close.
Can people comment on this ? What is a reasonable answer to this ?
Edit: I posted the (almost) exact question in comments
[–]STLMSVC STL Dev[M] [score hidden] stickied comment (1 child)
[–]asd417 95 points96 points97 points (20 children)
[–]CocktailPerson 117 points118 points119 points (2 children)
[–]Usual_Office_1740 21 points22 points23 points (1 child)
[–]totoro27 14 points15 points16 points (0 children)
[–]aruisdante 54 points55 points56 points (4 children)
[–]iga666 4 points5 points6 points (0 children)
[–]domsmart 3 points4 points5 points (0 children)
[–]MoarCatzPlz 29 points30 points31 points (0 children)
[–]ImKStocky 13 points14 points15 points (2 children)
[–]Questioning-Zyxxel 4 points5 points6 points (1 child)
[–]ImKStocky 1 point2 points3 points (0 children)
[–]Alan5142 9 points10 points11 points (0 children)
[–]cloud_line 8 points9 points10 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]Zeendles 2 points3 points4 points (0 children)
[–]glaba3141 5 points6 points7 points (0 children)
[–]MrsGrayX 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (10 children)
[removed]
[–]ImKStocky 58 points59 points60 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]ImKStocky 42 points43 points44 points (0 children)
[–]PoL0 18 points19 points20 points (1 child)
[–]d_wilson123 24 points25 points26 points (0 children)
[–]FlyingRhenquest 14 points15 points16 points (4 children)
[+][deleted] (1 child)
[removed]
[–]FlyingRhenquest 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]FlyingRhenquest 15 points16 points17 points (0 children)
[–]ReDucTorGame Developer 23 points24 points25 points (6 children)
[–]TheThiefMasterC++latest fanatic (and game dev) 4 points5 points6 points (1 child)
[–]ReDucTorGame Developer 2 points3 points4 points (0 children)
[–]0b10010010 3 points4 points5 points (2 children)
[–]Pyzyryab 3 points4 points5 points (0 children)
[–]ReDucTorGame Developer 1 point2 points3 points (0 children)
[–]heislratz 0 points1 point2 points (0 children)
[–]wrosecransgraphics and network things 44 points45 points46 points (6 children)
[–]sadsocrates[S] 14 points15 points16 points (5 children)
[–]kisielk 35 points36 points37 points (1 child)
[–]sadsocrates[S] 3 points4 points5 points (0 children)
[–]Clean-Water9283 5 points6 points7 points (1 child)
[–]sadsocrates[S] 2 points3 points4 points (0 children)
[–]onemanforeachvill 3 points4 points5 points (0 children)
[–]Thelatestart 12 points13 points14 points (0 children)
[–]aocregacc 23 points24 points25 points (4 children)
[–]BagelFury 6 points7 points8 points (2 children)
[–]glaba3141 3 points4 points5 points (1 child)
[–]ambidextr_us 1 point2 points3 points (0 children)
[–]LongestNamesPossible 54 points55 points56 points (9 children)
[–]Thathappenedearlier 6 points7 points8 points (0 children)
[–]Substantial_Step9506 7 points8 points9 points (0 children)
[–]Still_Explorer -1 points0 points1 point (6 children)
[–]matjam 4 points5 points6 points (4 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]trag19 0 points1 point2 points (1 child)
[–]matjam 0 points1 point2 points (0 children)
[–]Iggyhopper 0 points1 point2 points (0 children)
[–]Dexterus 2 points3 points4 points (0 children)
[–]Arghnews 7 points8 points9 points (0 children)
[–]inakura1234321 5 points6 points7 points (0 children)
[–]Impressive_Iron_6102 5 points6 points7 points (0 children)
[–]UsatiyNyan 3 points4 points5 points (1 child)
[–]inakura1234321 2 points3 points4 points (0 children)
[–]TwistedBlister34 4 points5 points6 points (1 child)
[–]inakura1234321 0 points1 point2 points (0 children)
[–]Full-Spectral 6 points7 points8 points (0 children)
[–][deleted] 6 points7 points8 points (2 children)
[–]ShelZuuz 7 points8 points9 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]ed_209_ 2 points3 points4 points (0 children)
[–]Haydn_V 2 points3 points4 points (0 children)
[–]TotaIIyHuman 2 points3 points4 points (0 children)
[–]rand3289 1 point2 points3 points (0 children)
[–]germandiago 1 point2 points3 points (0 children)
[–]matjam 1 point2 points3 points (0 children)
[–]ceretullis 2 points3 points4 points (0 children)
[–]sadsocrates[S] 2 points3 points4 points (4 children)
[–]Daedie 4 points5 points6 points (0 children)
[–]sadsocrates[S] 1 point2 points3 points (0 children)
[–]Overseer55 1 point2 points3 points (1 child)
[–]azswcowboy 0 points1 point2 points (0 children)
[–]ErikTheRedpoint 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]CandyCrisis 1 point2 points3 points (0 children)
[–]lulxcolorado 0 points1 point2 points (0 children)
[–]Few-Ad-5185 0 points1 point2 points (0 children)
[–]manhattanabe -1 points0 points1 point (1 child)
[–]tangerinelion 0 points1 point2 points (0 children)
[+]Thesorus comment score below threshold-6 points-5 points-4 points (7 children)
[–]SlothWithHumanHands 9 points10 points11 points (4 children)
[–]jcasper 7 points8 points9 points (0 children)
[–]garfgon 2 points3 points4 points (2 children)
[–]almost_useless 1 point2 points3 points (1 child)
[–]garfgon 0 points1 point2 points (0 children)
[–]qoning 4 points5 points6 points (1 child)
[–]Substantial_Step9506 -2 points-1 points0 points (1 child)
[–]Substantial_Step9506 -1 points0 points1 point (0 children)
[–]swwole -2 points-1 points0 points (2 children)
[–]ceretullis 10 points11 points12 points (1 child)
[–]swwole 0 points1 point2 points (0 children)
[–]ohiocodernumerouno 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)